Summarize a draws component (dc) object
# S3 method for dc
summary(
object,
probs = c(0.05, 0.5, 0.95),
na.rm = FALSE,
time = NULL,
abbr = FALSE,
batch.size = 100L,
...
)
A matrix with summaries of class dc_summary
.
an object of class dc
.
vector of probabilities at which to evaluate quantiles.
whether to remove NA/NaN draws in computing the summaries.
MCMC computation time; if specified the effective sample size per unit of time is returned in an extra column labeled 'efficiency'.
if TRUE
abbreviate the labels in the output.
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 n_eff
.
# \donttest{
ex <- mcmcsae_example()
sampler <- create_sampler(ex$model, data=ex$dat)
sim <- MCMCsim(sampler, store.all=TRUE)
summary(sim$u)
# }
Run the code above in your browser using DataLab