R/mcmcapply.R

Defines functions mcmcapply

Documented in mcmcapply

mcmcapply <-
function(x, FUN, ...)
{
    if (!inherits(x, "mcmc.list"))
        stop("object class is not 'mcmc.list'")
    y <- as.matrix(x)
    if (missing(FUN))
        y else apply(y, 2, match.fun(FUN), ...)
}

Try the dclone package in your browser

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

dclone documentation built on July 10, 2023, 2:03 a.m.