Learn R Programming

bigPLScox (version 0.8.1)

dCox_sim: Simulated survival dataset for Cox models

Description

The dCox_sim dataset contains simulated survival times, censoring indicators and two binary covariates for demonstrating the Cox-related procedures included in bigPLScox.

Arguments

Format

A data frame with 10000 observations on the following 5 variables.

id

observation identifier

time

simulated survival time

status

event indicator (1 = event, 0 = censored)

x.1

first binary covariate

x.2

second binary covariate

Examples

Run this code
# \donttest{
data(dCox_sim)
with(dCox_sim, table(status))
# }

Run the code above in your browser using DataLab