meanFun: Mean Function

View source: R/extractors.R

meanFunR Documentation

Mean Function

Description

Extracts the mean function from a GPPM.

Usage

meanFun(gpModel)

Arguments

gpModel

object of class GPPM.

Value

The mean function as a character string.

See Also

Other functions to extract from a GPPM: SE(), coef.GPPM(), confint.GPPM(), covFun(), fitted.GPPM(), getData(), getIntern(), logLik.GPPM(), maxNObs(), nObs(), nPars(), nPers(), nPreds(), parEsts(), pars(), preds(), vcov.GPPM()

Examples


data("demoLGCM")
lgcm <- gppm(
  "muI+muS*t", "varI+covIS*(t+t#)+varS*t*t#+(t==t#)*sigma",
  demoLGCM, "ID", "y"
)
myMean <- meanFun(lgcm)


gppm documentation built on Aug. 25, 2025, 9:50 a.m.

Related to meanFun in gppm...