effectiveSize_hyper | R Documentation |
effectiveSize
calls effectiveSize
in coda package to
calculate sample sizes.
effectiveSize_hyper(x, start, end, digits, verbose)
effectiveSize_many(x, start, end, verbose)
effectiveSize_one(x, start, end, digits, verbose)
effectiveSize(
x,
hyper = FALSE,
start = 1,
end = NA,
digits = 0,
verbose = FALSE
)
x |
posterior samples |
start |
starting iteration |
end |
ending iteraton |
digits |
printing how many digits |
verbose |
printing more information |
hyper |
a Boolean switch to extract hyper attribute |
#################################40
## effectiveSize example
#################################40
## Not run:
es1 <- effectiveSize_one(hsam[[1]], 1, 100, 2, TRUE)
es2 <- effectiveSize_one(hsam[[1]], 1, 100, 2, FALSE)
es3 <- effectiveSize_many(hsam, 1, 100, TRUE)
es4 <- effectiveSize_many(hsam, 1, 100, FALSE)
es5 <- effectiveSize_hyper(hsam, 1, 100, 2, TRUE)
es6 <- effectiveSize(hsam, TRUE, 1, 100, 2, TRUE)
es7 <- effectiveSize(hsam, TRUE, 1, 100, 2, FALSE)
es8 <- effectiveSize(hsam, FALSE, 1, 100, 2, TRUE)
es9 <- effectiveSize(hsam, FALSE, 1, 100, 2, FALSE)
es10 <- effectiveSize(hsam[[1]], FALSE, 1, 100, 2, TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.