Learn R Programming

globalboosttest (version 1.1-0)

simdatasurv: Simulated data with survival outcome

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

data(simdatasurv)

Arguments

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.

Details

Simulated data for demonstration purpose only.

See Also

simdatabin

Examples

Run this code
# 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

Run the code above in your browser using DataLab