Learn R Programming

mcmcr (version 0.0.2)

ess: Effective Sample Size

Description

Calculates the effective sample size based on esr.

Usage

ess(x, by = "all", as_df = FALSE)

Arguments

x

An MCMC object.

by

A string indicating whether to determine by "term", "parameter" or "all".

as_df

A flag indicating whether to return the results as a tibble or list.

Examples

Run this code
# NOT RUN {
ess(mcmcr_example)
# }

Run the code above in your browser using DataLab