A collection of imputation_singles()
grouped by a single subjid ID
Source: R/dataclasses.R
imputation_list_single.Rd
A 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_single
object 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
id
attribute is determined by extracting theid
attribute from the contributingimputation_single()
objects. An error is throw if multipleid
are detected