R/df2milist.R
df2milist.Rd
df2milist
Turns a data frame of class 'data.frame', 'tbl_df'
or 'tbl' (tibble) into an object of class 'milist' to be further used
by 'miceafter::with'
df2milist(data, impvar, keep = FALSE)
an object of class 'data.frame', 'tbl_df' or 'tbl' (tibble).
A character vector. Name of the variable that distinguishes the imputed datasets.
if TRUE the grouping column is kept, if FALSE (default) the grouping column is not kept.
an object of class 'milist' (Multiply Imputed Data list)