survData: A simulated clustered univariate survival data.

Description Usage Format Examples

Description

Simulated univariate survival data.

Usage

1

Format

a data frame with 2000 observations on the following 4 variables.

time

the time to event

event

the censoring indicators for the event time; 1=event observed, 0=censored

cluster

cluster numbers

cov1

the first column of covariate matrix x

cov2

the second column of covariate matrix x

Examples

1

Example output

Loading required package: MASS
Loading required package: survival
Loading required package: Formula

SemiCompRisks documentation built on Feb. 3, 2021, 5:06 p.m.