R/bsmooth.uncertainty.R

bsmooth.uncertainty <-
function (object, ...)
{
    if (inherits(object, "uncertainty_opti") && object$type != "multi")
        stop("type='multi' required for bsmooth")
    sapply(lapply(object$uncertainty, bsmooth), rowMeans)
}
psolymos/opticut documentation built on Nov. 27, 2022, 11:29 a.m.