powered by
Compute LOO-adjusted R2.
R2_LOO_Adjusted(fit)
A stanreg model.
# NOT RUN { library(psycho) library(rstanarm) data <- attitude fit <- rstanarm::stan_glm(rating ~ advance + privileges, data = data) R2_LOO_Adjusted(fit) # } # NOT RUN { # }
Run the code above in your browser using DataLab