bayes_R2.stanreg function

Compute a Bayesian version of R-squared or LOO-adjusted R-squared for regression models.