Analyse divergences in a stanfit object
stan_checkdivergences(sf, nupars = "all")
either the string 'all', or an integer reflecting how many pars (from first to nupars) to use.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.