R/stdErr.R

stdErr <-
function (x) {
    x <- as.matrix(x)
    vars <- apply(x, 2L, var)
    ess <- effectiveSize(x)
    sqrt(vars / ess)
}

Try the JMbayes package in your browser

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

JMbayes documentation built on Jan. 9, 2020, 9:07 a.m.