simdatasurv: Simulated data with survival outcome

Description Usage Details Value Author(s) See Also Examples

Description

Simulated data with binary outcome Y. The data X and Z are non-informative in the sense that they were randomly generated independently of Y.

Usage

1

Details

Simulated data for demonstration purpose only.

Value

A list with the following arguments:

X

A 50 x 200 matrix (with observations in rows and variables in columns) whose additional predictive value has to be tested.

status

A numeric vector of length 50 giving the survival status with values 0 (alive) and 1 (dead).

time

A numeric vector of length 50 giving the observation time (which equals the survival time for subjects with status=1)

Z

A 50 x 5 matrix (with observations in rows and variables in columns) on which we want to condition.

Author(s)

Anne-Laure Boulesteix (http://www.ibe.med.uni-muenchen.de/organisation/mitarbeiter/020_professuren/boulesteix/eng.html),

See Also

simdatabin

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# load globalboosttest library
library(globalboosttest)

# load the simulated data with survival outcome
data(simdatasurv)
# Visualize the dimensions
dim(simdatasurv$X)
dim(simdatasurv$Z)
simdatasurv$status
simdatasurv$time

globalboosttest documentation built on May 2, 2019, 2:09 a.m.