stan_checkdivergences: Analyse divergences in a stanfit object

Description Usage Arguments Value Examples

View source: R/stan_checkdivergences.R

Description

Analyse divergences in a stanfit object

Usage

1
stan_checkdivergences(sf, nupars = "all")

Arguments

sf

stanfit object.

nupars

either the string 'all', or an integer reflecting how many pars (from first to nupars) to use.

Value

A list of four matrices. $locationsort and $sdsort contian the bivariate interactions of unconstrained parameters, sorted by either the relative location of any divergences, or the relative standard deviation. $locationmeans and $sdmeans collapse across the bivariate interactions to return the means for each parameter.

Examples

1
2
3
4
## Not run: 
stan_checkdivergences(myfitobj)

## End(Not run)

cdriveraus/ctsem documentation built on April 18, 2019, 9:51 a.m.