mstate_data_sample: A simulated event-history data set

Description Usage Format

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

1

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


ebmstate documentation built on Jan. 6, 2021, 1:09 a.m.