| get_mmrm_sample {rbmi} | R Documentation |
Fit MMRM and returns parameter estimates
Description
get_mmrm_sample fits the base imputation model using a ML/REML approach.
Returns the parameter estimates from the fit.
Usage
get_mmrm_sample(ids, longdata, method)
Arguments
ids |
vector of characters containing the ids of the subjects. |
longdata |
R6 |
method |
A |
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.