R/PLL.mboost_coxph.R

Defines functions PLL.mboost_coxph

Documented in PLL.mboost_coxph

PLL.mboost_coxph <- function(object, newdata, newtime, newstatus, complexity = NULL, ...) {
   .require_suggested_package("mboost", "PLL.mboost_coxph()")

   lp <- stats::predict(
      object,
      newdata = as.data.frame(newdata),
      type = "link",
      ...
   )

   .peperr_pll_from_linear_predictor(
      linear.predictor = lp,
      time = newtime,
      status = newstatus
   )
}

Try the peperr package in your browser

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

peperr documentation built on March 25, 2026, 9:06 a.m.