These functions are used to calculate running means, standard deviations and quantiles.
summarySet(node)
summaryStats(node)
summaryClear(node)
summaryStats
returns a data frame with columns:
means
standard deviations
0.025 quantiles
medians
0.975 quantiles
sample sizes
Character vector containing names of a variables in the model.
summarySet
creates monitor(s) that starts recording the running totals for node
.
summaryStats
displays the running means, standard deviations,
and 2.5%, 50% (median) and 97.5% quantiles for node
.
Note that these running quantiles are calculated via an approximate algorithm
and should therefore be used with caution.
summaryClear
removes the monitor(s) calculating running totals for node
.
These functions are less powerful and general than the samples functions (e.g., see samplesSet
),
but they also require much less storage (an important consideration when many variables and/or long runs are of interest).
BRugs
, help.WinBUGS