R: Apply 'bm' to each column of a matrix or data frame of MCMC...
bmmat
R Documentation
Apply bm to each column of a matrix or data frame of MCMC samples.
Description
Apply bm to each column of a matrix or data frame
of MCMC samples.
Usage
bmmat(x)
Arguments
x
a matrix or data frame with each row being a
draw from the multivariate distribution of interest.
Value
bmmat returns a matrix with ncol(x) rows
and two columns. The row names of the matrix are the same
as the column names of x. The column names of the
matrix are “est” and “se”.
The jth row of the matrix contains the result of
applying bm to the jth column of x.
See Also
bm, which performs consistent batch means
estimation for a vector.