Skip to content

Commit

Permalink
rm omitted argument in impute fxn
Browse files Browse the repository at this point in the history
  • Loading branch information
rachaelvp authored Sep 29, 2023
1 parent a1eb91c commit 7433178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/process_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ process_data <- function(data, nodes, column_names, flag = TRUE,
nodes$covariates <- c(nodes$covariates, missing_indicator_vars)
}
# impute covariates
imputed <- impute(data[, missing_covar_cols, with = FALSE], flag = FALSE)
imputed <- impute(data[, missing_covar_cols, with = FALSE])

# update data
set(data, , missing_covar_cols, imputed)
Expand Down

0 comments on commit 7433178

Please sign in to comment.