predict_mean: Predict The Mean Function For the FPC Plots

Description Usage Arguments Value

View source: R/helperfunctions_extract.R

Description

This is an internal function that helps to interpret the FPCs. Extract the mean function for all covariates set to 0.5. This is useful if combined with the estimated FPCs because one can then add and subtract suitable multiples from this function.

Usage

1
predict_mean(model, multi = TRUE, dimnames = c("aco", "epg"))

Arguments

model

multiFAMM model or list of univariate models for which to predict the mean.

multi

Indicator if it is a multiFAMM model (TRUE) or a list of univariate models.

dimnames

Vector of strings containing the names of the dimensions.

Value

A multiFunData object.


multifamm documentation built on Sept. 28, 2021, 9:07 a.m.