simdata_lt {intccr} | R Documentation |
Simulated left-truncated and interval-censored competing risks data with 2 covariates - wide format
Description
The data containing the individual identification number, the left-truncated time, the last and first observation time prior to the event and after the event, cause of failure, and baseline covariates with 275 observations.
Usage
simdata_lt
Format
A data frame with 275 unique individuals and 7 variables.
- id
subject id
- w
the left truncation time
- v
the last observation time prior to the event
- u
the first observation time after the event
- c
cause of failure with missing
- z1
binary variable
- z2
continuous variable
Examples
library(intccr)
data(simdata_lt)
[Package intccr version 3.0.4 Index]