Learn R Programming

survAccuracyMeasures (version 1.2)

SimData: Simulated data for package 'SurvAccuracyMeasures'

Description

Survival data simulated from a Cox proportional hazards model with 20% censoring.

Usage

data(SimData)

Arguments

Format

A data frame with 500 observations on the following 3 variables.
survTime
a numeric vector of survival time
status
a numeric vector indicating event status, status = 1 for failure, while status = 0 for censored observations
Y
a numeric vector of values for marker

Examples

Run this code
data(SimData)
 
head(SimData)

Run the code above in your browser using DataLab