I’m working on the next update of my sjPlot-package, which will get a generic
plot_model() method, which plots any kind of regression model, with different plot types being supported (forest plots for estimates, marginal effects and predictions, including displaying interaction terms, …).
The package also supports
rstanarm models. Since these are typically presented in a slightly different way (e.g., „outer“ and „inner“ probability of credible intervals), I implemented a special handling for these models, for which I wanted to show a quick preview here:
library(sjPlot) library(rstanarm) m
The thin error bars represent the High Density Intervals (HDI) specified in the
ci.lvlargument, the thick bar is the 50%-HDI, and the white point is the posterior median.
This is still work in progress, the latest version is on GitHub…
RelatedTo leave a comment for the author, please follow the link and comment on their blog: R – Strenge Jacke!.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...