summaryChain {glmmBUGS} | R Documentation |
Computes summary statistics for each parameter.
summaryChain(chain, probs = c(0.005, 0.025, 0.05, 0.5))
chain |
The result from restoreParams , or the sims.array componento f a bugs call. |
probs |
Quantiles for the posterior credible interval |
A list of matrices, with rows corresponding to summary statistics and columns to parameters.
scalar |
Matrix for the scalar parameters |
... |
One matrix for each vector valued parameter |
Patrick Brown
# create a simple chain thechain = list(beta = array(1, c(10, 3,4), dimnames = list(NULL, NULL, paste("beta[", 1:4, "]", sep=""))), intercept = matrix(1, 10, 3)) summaryChain(thechain)