Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MHaringa committed Oct 2, 2024
1 parent e0ae0bd commit e8def23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/model_refinement.R
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ update_glm <- function(x, intercept_only = FALSE) {

for (i in seq_along(mult_lst)) {
risk_factor_name <- unique(mult_lst[[i]]$risk_factor)
names(x)[names(mult_lst[[i]]) == "level"] <- risk_factor_name
names(x)[names(mult_lst[[i]]) == "estimate"] <- paste0(
names(mult_lst[[i]])[names(mult_lst[[i]]) == "level"] <- risk_factor_name
names(mult_lst[[i]])[names(mult_lst[[i]]) == "estimate"] <- paste0(
risk_factor_name, "_rst99"
)
mult_lst[[i]]$risk_factor <- NULL
Expand Down

0 comments on commit e8def23

Please sign in to comment.