Learn R Programming

SemiCompRisks (version 2.4)

survData: A simulated clustered univariate survival data.

Description

Simulated univariate survival data.

Usage

data(survData)

Arguments

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

Run this code
data(scrData)

Run the code above in your browser using DataLab