ex_compet {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.
Usage
ex_compet
Format
A data frame with 1000 rows and 4 variables:
- t
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 competing risk hazards
- x2
Partially observed normally distributed (conditional on x1) covariate, with linear effects on log competing risk hazards
[Package smcfcs version 1.8.0 Index]