R/predictProb.CoxBoost.R

predictProb.CoxBoost <- function (object, response, x, times, complexity, ...) 
{
    if (is.list(complexity)) {
        predict(object, type = "risk", newdata = x, times = times, 
            at.step = complexity$stepno)
    }
    else {
        predict(object, type = "risk", newdata = x, times = times, 
            at.step = complexity)
    }
}

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.