get_mmrm_sample fits the base imputation model using a ML/REML approach.
Returns the parameter estimates from the fit.
get_mmrm_sample(ids, longdata, method)A named list of class sample_single. It contains the following:
ids vector of characters containing the ids of the subjects included in the original dataset.
beta numeric vector of estimated regression coefficients.
sigma list of estimated covariance matrices (one for each level of vars$group).
theta numeric vector of transformed covariances.
failed logical. TRUE if the model fit failed.
ids_samp vector of characters containing the ids of the subjects included in the given sample.
vector of characters containing the ids of the subjects.
R6 longdata object containing all relevant input data information.
A method object as generated by either
method_approxbayes() or method_condmean().