Learn R Programming

curephEM (version 0.3.2)

sim.cureph.data: Simulated Data for cureph

Description

A simulated data for cureph example.

Usage

data("sim.cureph.data")

cureph.simgen()

Arguments

Format

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

time

entry time.

time2

exit time.

event

binary event indicator.

Z1

numerical vector.

Z2

factor with levels '0' and '1'.

Z3

factor with levels 'A', 'B' and 'C'.

Z4

factor with levels '0', '1' and '2', colinear with Z2 and Z3.

attr(,"true.coef")

the true coefficients.

attr(,"true.surv0")

the true baseline survival function.