ex_finegray {smcfcs} | R Documentation |
Simulated example data with competing risks outcome and partially observed covariates
Description
A dataset containing simulated competing risks data. There are two competing risks, and some times are also censored. Proportionality holds on the subdistribution hazard scale for cause 2, where for dataset 'ex_compet' it instead holds on the cause-specific hazard scale.
Usage
ex_finegray
Format
A data frame with 1000 rows and 4 variables:
- times
Time to event or censoring
- d
Indicator of whether event 1 occurred (d=1), event 2 occurred (d=2) or individual was censored (d=0)
- x1
Partially observed binary covariate, with linear effects on log subdistribution hazard of cause 1
- x2
Partially observed normally distributed (conditional on x1) covariate, with linear effects on log subdistribution hazard of cause 1
[Package smcfcs version 1.8.0 Index]