mstate_data_sample {ebmstate}R Documentation

A simulated event-history data set

Description

A data set generated by simulation from an illness-death Cox model. This is an object of double class 'data.frame' and 'msdata', whose 'trans' attribute is a transition matrix (attr(mstate_data_sample,"trans")).

Usage

mstate_data_sample

Format

A data frame with 649 rows and 18 variables (250 patients):

id

patient identification number

from

state in which the patient is

to

state to which the patient is at risk of going to

trans

transition ID number

Tstart

when the risk of the transition started

Tstop

the time at which the risk of the transition ended or the last follow-up time (whichever happened first)

time

Tstop-Tstart

status

did the transition occur at Tstop?

Cov1,Cov2,Cov3,Cov4,Cov5,Cov6,Cov7,Cov8,Cov9,Cov10

covariates


[Package ebmstate version 0.1.4 Index]