Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ctModelHigherOrder

Raise the order of a ctsem model object of type 'omx'.


Description

Raise the order of a ctsem model object of type 'omx'.

Usage

ctModelHigherOrder(
  ctm,
  indices,
  diffusion = TRUE,
  crosseffects = FALSE,
  cint = FALSE,
  explosive = FALSE
)

Arguments

ctm

ctModel

indices

Vector of integers, which latents to raise the order of.

diffusion

Shift the diffusion parameters / values to the higher order?

crosseffects

Shift cross coupling parameters of the DRIFT matrix to the higher order?

cint

shift continuous intercepts to higher order?

explosive

Allow explosive (non equilibrium returning) processes?

Value

extended ctModel

Examples

om <- ctModel(LAMBDA=diag(1,2),DRIFT=0, 
  MANIFESTMEANS=0,type='omx',Tpoints=4)
  
om <- ctModelHigherOrder(om,1:2)
print(om$DRIFT)

m <- ctStanModel(om)
print(m$pars)

ctsem

Continuous Time Structural Equation Modelling

v3.4.3
GPL-3
Authors
Charles Driver [aut, cre, cph], Manuel Voelkle [aut, cph], Han Oud [aut, cph], Trustees of Columbia University [cph]
Initial release
2021-04-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.