getIntern: Generic Extraction Function

View source: R/extractors.R

getInternR Documentation

Generic Extraction Function

Description

Extracts internals from a GPPM.

Usage

getIntern(gpModel, quantity)

Arguments

gpModel

object of class GPPM.

quantity

character string. Name of the quantity to extract. Possible values are

  • "parsedmFormula" for the parsed mean formula

  • "parsedcFormula" for the parsed covariance formula

  • "stanData" for the data set in the form needed for rstan

  • "stanModel" for the created rstan model

  • "stanOut" for the created stan output

Value

The requested quantity

See Also

Other functions to extract from a GPPM: SE(), coef.GPPM(), confint.GPPM(), covFun(), fitted.GPPM(), getData(), logLik.GPPM(), maxNObs(), meanFun(), 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"
)
lgcmFit <- fit(lgcm)
getIntern(lgcmFit, "parsedmFormula")


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

Related to getIntern in gppm...