Modified from
from https://github.com/LaplacesDemonR/LaplacesDemon/blob/master/R/ESS.R
Arguments
- x:
a matrix, rows being MC samples and columns being quantities whose MCSE is to be estimated.
Value
Estimates of the effective sample size for each trace.