Learn R Programming

ComparisonSurv (version 1.1.1)

PHdata: The Data Satisfied Proportional Hazard Assumption

Description

PHdata is a dataset from simulation, which is satisfied the proportional hazard ratio assumption.

Usage

data(PHdata)

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(PHdata)

Run the code above in your browser using DataLab