msdata to etm format
msdata2etm(msdata, id, covs)
msdata
Multi-state data in msdata format, as used in mstate
mstate
id
Column name identifying the subject id
covs
Vector of column names containing covariates to be included