mids2milist {miceafter}R Documentation

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)

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(s)

Martijn Heymans, 2021


[Package miceafter version 0.5.0 Index]