testdata {SmoothHazard} | R Documentation |
Data set for survival models: right-censored and interval-censored data.
Description
A simulated data frame for survival models composed of right-censored and interval-censored data.
Format
A data frame with 936 observations on the following 4 variables.
- l
for diseased subjects: left endpoint of censoring interval; for non-diseased subjects: right censoring time
- r
for diseased subjects: right endpoint of censoring interval; for non-diseased subjects: right censoring time for the disease event
- id
disease status
- cov
covariate
Examples
data(testdata)
head(testdata)
[Package SmoothHazard version 2024.04.10 Index]