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)
}

Try the opticut package in your browser

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

opticut documentation built on May 2, 2019, 5:09 a.m.