Learn R Programming

EL2Surv (version 1.1)

hazardcross: Simulated Survival with Crossing Hazard Functions

Description

The data frame hazardcross is simulated from two groups of piecewise exponential lifetime distributions with crossing hazard functions. The estimated survival functions remain ordered even when the estimated hazard functions are crossed. See supELtest for the application.

Usage

hazardcross

Arguments

Format

The hazardcross is a data frame with 100 simulated observations of 3 variables, and has the following columns:

  • time the survival time

  • censor the censoring indicator

  • group the grouping variable

See Also

supELtest