Search code examples
stanrstan

Is there a function check_rhat() in rstan package?


In the following page, I find a function check_rhat(). However in the R console, there does not exist even if using rstan:::.

So, I made a similar function for diagnosis of rhats in my package, but, if there exist some function to evaluate the rhat I want to use it (if it exists).

https://betanalpha.github.io/assets/case_studies/divergences_and_bias.html

enter image description here


Solution

  • That function comes into the R session via source("stan-utility.R") and is defined here. It is not in the rstan package.