mcmc_rhat: Create Rhat plot

Description Usage Arguments

Description

mcmc_rhat() is a generic. The default method simply calls bayesplot::mcmc_rhat(). An additional method is provided for brmsfit objects so we can avoid first extracting the R-hat values before creating the plot.

Usage

1
2
3
4
5
6
7
mcmc_rhat(object, ..., size = NULL)

## Default S3 method:
mcmc_rhat(object, ..., size = NULL)

## S3 method for class 'brmsfit'
mcmc_rhat(object, pars = NULL, ..., size = NULL)

Arguments

object

A model fitted with [brms::brm()].

...

Arguments passed to individual methods.

pars

An optional character vector of parameter names. For nuts_params these will be NUTS sampler parameter names rather than model parameters. If pars is omitted all parameters are included.


rpruim/rjpBayes documentation built on May 7, 2019, 11:10 a.m.