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 longdata object containing all relevant input data information.

method

A method object as generated by either method_approxbayes() or method_condmean().

Value

A named list of class sample_single. It contains the following:


[Package rbmi version 1.2.6 Index]