Learn R Programming

flassomsm (version 0.1.0)

msdata_3state: Short Multi state data

Description

Simulated multi-state data with 3 states expanded in msdata format

Usage

data(msdata_3state)

Arguments

Format

A dataframe with 12 rows and 2 variables expanded in wide format for 3 orders of transitions

id

ID of subjects

from

From which state the individual is shifting

to

To which state the individual is shifting

trans

Order of transition of a particular individual at a specific time

Tstart

Starting time of a transition

Tstop

Stop time of a transition

time

Total time duration of a particular transition

status

Indicator of that particular transition

x1,x2

2 continuous covariates originally in the dataset

x1.1,...,x2.3

The 2 covariates expanded in 3 orders of transitions

Examples

Run this code
data(msdata_3state)

Run the code above in your browser using DataLab