R/RMSEP.bootstrap.wa.R

Defines functions RMSEP.bootstrap.wa

Documented in RMSEP.bootstrap.wa

RMSEP.bootstrap.wa <- function(object,
                               type = c("birks1990", "standard"),
                               ...) {
    if (missing(type))
        type <- "birks1990"
    type <- match.arg(type)
    if (type == "birks1990")
        rmsep <- object$performance$rmsep
    else rmsep <- sqrt(mean(object$model$resid^2))
    return(rmsep)
}
gavinsimpson/analogue documentation built on June 17, 2021, 2:37 a.m.