Learn R Programming

rstanarm (version 2.9.0-3)

shinystan: Using the ShinyStan GUI with stanreg objects

Description

The launch_shinystan function will accept a 'stanreg' object as input. Currently, almost any model fit using one of rstanarm's model-fitting functions can be used with ShinyStan. The only exception is that ShinyStan does not currently support rstanarm models fit using algorithm='optimizing'.

Arguments

Details

See the shinystan package documentation for more information.

Examples

Run this code
# Launch the ShinyStan app (saving resulting shinystan object as sso)
sso <- launch_shinystan(example_model)

Run the code above in your browser using DataLab