Learn R Programming

CoxPhLb (version 1.2.0)

ExampleData1: Example Data 1

Description

A simulated right-censored length-biased data set. The example data set contains failure time, left-truncation time, censoring indicator, and the covariates.

Usage

ExampleData1

Arguments

Format

A data frame with 200 observations.

y

failure time

a

left-truncation time

delta

censoring status (0=censored, 1=uncensored)

x1

first covariate (binary variable, 0 or 1)

x2

second covariate (continuous variable, range from 0.0 to 1.0)