Learn R Programming

hesim (version 0.5.5)

onc3: Multi-state oncology data for 3-state model

Description

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).

Usage

onc3

Arguments

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

onc3p

Examples

Run this code
head(onc3)

Run the code above in your browser using DataLab