fitted.mlmm: Fitted Outcome Value by Multiple Linear Mixed Models.

View source: R/fitted.R

fitted.mlmmR Documentation

Fitted Outcome Value by Multiple Linear Mixed Models.

Description

Evaluate the expected mean conditional to covariates or the expected missing outcome values conditional to observed outcome values and covariates. based on group-specific linear mixed models.

Usage

## S3 method for class 'mlmm'
fitted(object, newdata = NULL, simplify = TRUE, ...)

Arguments

object

a mlmm object.

newdata

[data.frame] the covariate values for each cluster along with the by variable indicating which linear mixed model should be used.

simplify

[logical] simplify the column names (no mention of the time variable) and remove the cluster, by, and time column when possible.

...

additional argument passed the predict.lmm.


bozenne/repeated documentation built on July 16, 2025, 11:16 p.m.