R/bootstrap.wa.R

Defines functions `bootstrap.wa`

`bootstrap.wa` <- function(object, n.boot = 1000,
                           verbose = TRUE, ...) {
    retval <- predict(object, object$orig.x, CV = "bootstrap",
                      n.boot = n.boot, verbose = verbose)
    .call <- match.call()
    .call[[1]] <- as.name("bootstrap")
    retval$call = .call
    class(retval) <- "bootstrap.wa"
    return(retval)
}
gavinsimpson/analogue documentation built on June 17, 2021, 2:37 a.m.