Learn R Programming

rstanarm (version 2.9.0-3)

plots: Plots for rstanarm models

Description

All rstanarm models fit using algorithm='sampling', "meanfield", or "fullrank" are compatible with a variety of plotting functions from the rstan package. Each function returns at least one ggplot object that can be customized further using the ggplot2 package. The plotting functions described here can be called using the plot method for stanreg objects without loading the rstan package. For example usage see plot.stanreg.

Arguments

See Also

plot.stanreg for how to call the plot method, shinystan for interactive model exploration, pp_check for graphical posterior predicive checking.

Examples

Run this code
# See examples at help("plot.stanreg", package = "rstanarm")

Run the code above in your browser using DataLab