summarymcmc produces summary given MCMC draws
summarymcmc(thetam = thetam, compact = F)
thetam
is a matrix of MCMC draws
compact
does not give the median and inefficiency factors
Siddhartha Chib