Learn R Programming

greyzoneSurv (version 1.0)

mydata: Package Data

Description

The data set can be used to test the grey-zone and 2-group models.

Usage

data(mydata)

Arguments

Format

The data set is a data frame with 300 rows and 4 columns for patient survival time (time), censoring event (event), marker values (x), and true risk groups (xhigh=1 for high risk and 0 for low risk).

Source

The data were generated with the code in the Examples of genSurvData in this package.

Details

The data were generated based on a Weibull distribution for survival times and normal distributions for marker values in both the high and low risk patients.

Examples

Run this code
data(mydata)

Run the code above in your browser using DataLab