Learn R Programming

ComparisonSurv (version 1.1.1)

Crossdata: The Data with Survival Curves Crossed

Description

Crossdata is a dataset from simulation, which is violated the proportional hazard ratio assumption.

Usage

data(Crossdata)

Arguments

Format

A data frame with 200 observations on the following 3 variables.

time

The follow up time for right censored data.

status

The status indicator, normally 1=event, 0=alive or right censored.

group

The group indicator for comparison, 0= control group, 1= treatment group.

Examples

Run this code
data(Crossdata)

Run the code above in your browser using DataLab