R/complexity.mincv.CoxBoost.R

Defines functions `complexity.mincv.CoxBoost`

`complexity.mincv.CoxBoost` <- function(response, x, full.data, ...){
   require(CoxBoost)
   time <- response[,"time"]
   status <- response[,"status"]

   cv.res <- cv.CoxBoost(time=time, status=status, x=x, ...)

   min.cv <- cv.res$optimal.step
   min.cv
}

Try the peperr package in your browser

Any scripts or data that you put into this service are public.

peperr documentation built on May 2, 2019, 4:08 a.m.