get_mmrm_sample fits the base imputation model using a ML/REML approach.
Returns the parameter estimates from the fit.
Arguments
- ids
vector of characters containing the ids of the subjects.
- longdata
R6
longdataobject containing all relevant input data information.- method
A
methodobject as generated by eithermethod_approxbayes()ormethod_condmean().
Value
A named list of class sample_single. It contains the following:
idsvector of characters containing the ids of the subjects included in the original dataset.betanumeric vector of estimated regression coefficients.sigmalist of estimated covariance matrices (one for each level ofvars$group).thetanumeric vector of transformed covariances.failedlogical.TRUEif the model fit failed.ids_sampvector of characters containing the ids of the subjects included in the given sample.
