Currently, convergence diagnostic functions are defined in monitor.R
. These are mostly the same as what is in the posterior
package, but there are some updates in posterior
package that have not been added to monitor.R
. To reduce amount of duplicate code and to unify the diagnostics between rstan
and cmdstanr
, it would be good to switch to use the functions directly from posterior
package