Transform longitudinal data to wide format and impute baseline (soft-deprecated)
Source:R/margot_wide_impute_baseline.R
margot_wide_impute_baseline.Rd
**Deprecated**: Use `margot_wide_machine(imputation_method = "mice")` instead.
Arguments
- .data
A data frame containing the longitudinal data in long format.
- baseline_vars
A character vector of baseline variable names to include and impute.
- exposure_var
A character vector specifying the names of exposure variables.
- outcome_vars
A character vector specifying the names of outcome variables.