R/control.R

Defines functions boost_control

Documented in boost_control

boost_control <- function(mstop = 100, nu = 0.1,
                          risk = c("inbag", "oobag", "none"),
                          stopintern = FALSE,
                          center = TRUE, trace = FALSE) {

   risk <- match.arg(risk)
   stopintern <- stopintern & (risk == "oobag")
   RET <- list(mstop = mstop, nu = nu,
               risk = risk, stopintern = stopintern,
               center = center, trace = trace)
   class(RET) <- c("boost_control")
   RET
}

Try the mboost package in your browser

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

mboost documentation built on Sept. 8, 2023, 6:15 p.m.