simCox {icmm} | R Documentation |
Simulated data from Cox's regression model
Description
Simulated data from Cox's regression model. A data frame with 100 observations and 402 variables. The included variables are
V1
A numeric vector of responses for right censored data.
V2
A numeric vector of status indicator: 0
=right censored, 1
=event at time V1
.
V3
-V402
400 vectors of covariates.
Usage
data(simCox)
Format
A data frame of simulated data from Cox's regression model with 100 observations and 402 variables.
Examples
data(simCox)
Y<-as.matrix(simCox[,1])
event<-as.matrix(simCox[,2])
X<-as.matrix(simCox[,-(1:2)])
[Package icmm version 1.2 Index]