convergence: Get R-hat value(s)

Description Usage Arguments Value

Description

Get R-hat value(s) for JAGS objects

Usage

1
convergence(object, parm = "all", combine = TRUE, ...)

Arguments

object

a JAGS object

parm

a character vector indicating the parameters for which to calculate the R-hat values. Either list the parmeters or use all, fixed or random.

combine

a logical element indicating whether or not to summarise by the maximum R-hat value.

...

passed to and from other functions

Value

a vector, matrix or array of convergence values


poissonconsulting/jaggernaut documentation built on Feb. 18, 2021, 11:10 p.m.