bmmat {batchmeans} | R Documentation |
bm
to each column of a matrix or data frame of MCMC samples.Apply bm
to each column of a matrix or data frame of MCMC samples.
bmmat(x)
x |
a matrix or data frame with each row being a draw from the multivariate distribution of interest. |
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
.
bm
, which performs consistent batch means estimation for a vector.