Calculates the effective sample size based on esr()
.
ess(x, by = "all", as_df = FALSE)
An MCMC object.
A string indicating whether to determine by "term", "parameter" or "all".
A flag indicating whether to return the results as a data frame versus a named list.
ess(mcmcr_example)
#> [1] 9