summary.dc {mcmcsae} | R Documentation |
Summarize a draws component (dc) object
Description
Summarize a draws component (dc) object
Usage
## S3 method for class 'dc'
summary(
object,
probs = c(0.05, 0.5, 0.95),
na.rm = FALSE,
time = NULL,
abbr = FALSE,
batch.size = 100L,
...
)
Arguments
object |
an object of class |
probs |
vector of probabilities at which to evaluate quantiles. |
na.rm |
whether to remove NA/NaN draws in computing the summaries. |
time |
MCMC computation time; if specified the effective sample size per unit of time is returned in an extra column labeled 'efficiency'. |
abbr |
if |
batch.size |
number of parameter columns to process simultaneously. A larger batch size may speed things up a little, but if an out of memory error occurs it may be a good idea to use a smaller number and try again. The default is 100. |
... |
arguments passed to |
Value
A matrix with summaries of class dc_summary
.
Examples
ex <- mcmcsae_example()
sampler <- create_sampler(ex$model, data=ex$dat)
sim <- MCMCsim(sampler, store.all=TRUE)
summary(sim$u)
[Package mcmcsae version 0.7.7 Index]