check_divergences: Check for transitions that ended with a divergence

View source: R/stan-utils.R

check_divergencesR Documentation

Check for transitions that ended with a divergence

Description

Check for transitions that ended with a divergence

Usage

check_divergences(fit)

Arguments

fit

A stanfit object.

Value

The number of divergences in the fit.

Examples

## Not run: 
n_divs <- check_divergences(fit)

## End(Not run)

tomshafer/tshfr documentation built on Sept. 27, 2022, 2:42 p.m.