Skip to content

Commit

Permalink
tidy second censoring model
Browse files Browse the repository at this point in the history
  • Loading branch information
Linda Nab committed Nov 22, 2023
1 parent 67ce45d commit 83df1db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion analysis/models_ccw/coef_weight_models.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ args <- commandArgs(trailingOnly=TRUE)
if(length(args)==0){
# use for interactive testing
period <- "ba1"
model <- "cox"
model <- "plr"
subgrp <- "full"
supp <- "main"
} else {
Expand Down Expand Up @@ -96,6 +96,9 @@ files <-
list.files(models_dir,
pattern = pattern,
full.names = FALSE)
files <- files[files != "plr_cens2_trt_all_plr.rds"] # ba1, contrast all -->
# no alternative censoring (there is a character string saved in the .rds,
# causing problems when tidy is used in subsequent steps)
# capture names of models
object_names <- str_extract(files, "[^.]+")
models <-
Expand Down

0 comments on commit 83df1db

Please sign in to comment.