sastraj_to_lctm: Converts a SAS proc traj model to the format of R's hlme...

View source: R/sastraj_to_lctm.R

sastraj_to_lctmR Documentation

Converts a SAS proc traj model to the format of R's hlme class

Description

Converts a SAS proc traj model to the format of R's hlme class

Usage

sastraj_to_lctm(oe, of, op, os)

Arguments

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

Value

A format to feed into the LCTMtoolkit() R function

Examples

## 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)

hlennon/LCTMtools documentation built on Dec. 6, 2022, 3:04 a.m.