mcmcapply {dclone} | R Documentation |
Conveniently calculates statistics for mcmc.list objects.
mcmcapply(x, FUN, ...)
x |
Objects of class mcmc.list .
|
FUN |
A function to be used in the calculations, returning a single value. |
... |
Other arguments passed to FUN .
|
The mcmcapply
returns a certain statistics based on FUN
.
Returns statistic value based on FUN
, using all values in all chains of the MCMC object.
P\'eter S\'olymos, solymos@ualberta.ca
data(regmod) mcmcapply(regmod, mean) mcmcapply(regmod, sd)