View source: R/sastraj_to_lctm.R
sastraj_to_lctm | R Documentation |
Converts a SAS proc traj model to the format of R's hlme class
sastraj_to_lctm(oe, of, op, os)
oe |
contains model parameter estimates and maximised likelihood, AIC, BIC values |
of |
contains posterior probabilities |
op |
contains predictors |
os |
containts fixed effect and class membershop parameter estimates |
A format to feed into the LCTMtoolkit() R function
## Not run: sastraj_to_lctm(oe, of, op, os) os$PI/100 exp(c(M$best[1:4], 0))/(sum(exp(c(M$best[1:4], 0)))) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.