testdata: Data set for survival models: right-censored and...

Description Format Examples

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

1
2

Example output

Loading required package: prodlim
     l    r id cov
1 0.50 0.54  1   1
2 0.00 0.21  1   0
3 0.00 0.73  1   1
4 0.55 0.86  1   1
5 0.75 0.75  0   1
6 0.23 0.23  0   1

SmoothHazard documentation built on May 2, 2019, 4:43 p.m.