
A collection of imputation_singles() grouped by a single subjid ID
Source: R/dataclasses.R
imputation_list_single.RdA collection of imputation_singles() grouped by a single subjid ID
Arguments
- imputations
a list of
imputation_single()objects ordered so that repetitions are grouped sequentially- D
-
the number of repetitions that were performed which determines how many columns the imputation matrix should have
This is a constructor function to create a
imputation_list_singleobject which contains a matrix ofimputation_single()objects grouped by a singleid. The matrix is split so that it has D columns (i.e. for non-bmlmi methods this will always be 1)The
idattribute is determined by extracting theidattribute from the contributingimputation_single()objects. An error is throw if multipleidare detected