Learn R Programming

icmm (version 1.2)

simCox: 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)

Arguments

Format

A data frame of simulated data from Cox's regression model with 100 observations and 402 variables.

Examples

Run this code
# NOT RUN {
  data(simCox)
  Y<-as.matrix(simCox[,1])
  event<-as.matrix(simCox[,2])
  X<-as.matrix(simCox[,-(1:2)])
# }

Run the code above in your browser using DataLab