powered by
Raise the order of a ctsem model object of type 'omx'.
ctModelHigherOrder( ctm, indices, diffusion = TRUE, crosseffects = FALSE, cint = FALSE, explosive = FALSE )
ctModel
Vector of integers, which latents to raise the order of.
Shift the diffusion parameters / values to the higher order?
Shift cross coupling parameters of the DRIFT matrix to the higher order?
shift continuous intercepts to higher order?
Allow explosive (non equilibrium returning) processes?
extended ctModel
# NOT RUN { 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) # }
Run the code above in your browser using DataLab