mids2milist Turns a 'mice::mids' object into an object with multiply imputed datasets of class 'milist' to be further used by 'miceafter::with'

mids2milist(data, keep = FALSE)

Arguments

data

a 'mice::mids' object

keep

if TRUE the grouping column is kept, if FALSE (default) the grouping column is not kept.

Value

an object of class 'milist'

Author

Martijn Heymans, 2021