mids2milist: Turns a 'mice::mids' object into an object of class 'milist'
to be further used by 'miceafter::with'
Description
mids2milist
Turns a 'mice::mids' object into an object
with multiply imputed datasets of class 'milist' to be further
used by 'miceafter::with'
Usage
mids2milist(data, keep = FALSE)
Value
an object of class 'milist'
Arguments
- data
a 'mice::mids' object
- keep
if TRUE the grouping column is kept, if FALSE
(default) the grouping column is not kept.
Author
Martijn Heymans, 2021