Simulated 3-state dataset in oncology with three health states (Stable, Progression, and Death) and three possible transitions (Stable -> Progression, Stable -> Death, and Progression -> Death).

onc3

Format

A data.table with the following columns:

from

Health state making a transition from.

to

Health state making a transition to.

strategy_name

Standard of care (SOC), new treatment 1 (New 1), or new treatment 2 (New 2).

female

1 if a patient is female; 0 if male.

age

Patient age (in years).

patient_id

Patient identification number.

time_start

Starting time.

time_stop

Stopping time.

status

Status indicator: 1=transition, 0=censored.

transition_id

Integer denoting transition: 1 = Stable -> Progression, 2 = Stable -> Death, 3 = Progression -> Death.

strategy_id

Strategy identification number.

time

Elapsed years between time_start and time_stop.

See also

Examples

head(onc3)
#>           from          to strategy_name female      age patient_id time_start
#>         <char>      <char>        <fctr>  <int>    <num>      <int>      <num>
#> 1:      Stable Progression         New 2      0 59.85813          1   0.000000
#> 2:      Stable       Death         New 2      0 59.85813          1   0.000000
#> 3: Progression       Death         New 2      0 59.85813          1   2.420226
#> 4:      Stable Progression         New 2      0 62.57282          2   0.000000
#> 5:      Stable       Death         New 2      0 62.57282          2   0.000000
#> 6:      Stable Progression           SOC      1 61.44379          3   0.000000
#>    time_stop status transition_id strategy_id      time
#>        <num>  <num>         <num>       <int>     <num>
#> 1:  2.420226      1             1           3  2.420226
#> 2:  2.420226      0             2           3  2.420226
#> 3: 14.620258      1             3           3 12.200032
#> 4:  7.497464      0             1           3  7.497464
#> 5:  7.497464      0             2           3  7.497464
#> 6:  2.365867      0             1           1  2.365867