Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

shinystan-class

S4 shinystan objects


Description

See as.shinystan for documentation on creating shinystan objects and eight_schools for an example object.

Slots

model_name

("character") Model name.

param_names

("character") Parameter names.

param_dims

("list") Parameter dimensions.

posterior_sample

("array") MCMC sample.

summary

("matrix") Summary stats for posterior_sample.

sampler_params

("list") Sampler parameters (for certain Stan models only).

n_chain

("integer") Number of chains.

n_iter

("integer") Number of iterations per chain.

n_warmup

("integer") Number of warmup iterations per chain.

user_model_info

("character") Notes to display on the Notepad page in the 'ShinyStan' GUI.

model_code

("character") Model code to display on the Model Code page in the 'ShinyStan' GUI.

misc

("list") Miscellaneous, for internal use.

References

Muth, C., Oravecz, Z., and Gabry, J. (2018) User-friendly Bayesian regression modeling: A tutorial with rstanarm and shinystan. The Quantitative Methods for Psychology. 14(2), 99–119. https://www.tqmp.org/RegularArticles/vol14-2/p099/p099.pdf

See Also

as.shinystan for creating shinystan objects.

drop_parameters to remove parameters from a shinystan object.

generate_quantity to add a new quantity to a shinystan object.

shinystan-metadata to view or change metadata associated with a shinystan object.


shinystan

Interactive Visual and Numerical Diagnostics and Posterior Analysis for Bayesian Models

v2.5.0
GPL (>= 3)
Authors
Jonah Gabry [aut, cre], Stan Development Team [ctb], Michael Andreae [ctb], Michael Betancourt [ctb], Bob Carpenter [ctb], Yuanjun Gao [ctb], Andrew Gelman [ctb], Ben Goodrich [ctb], Daniel Lee [ctb], Dongying Song [ctb], Rob Trangucci [ctb]
Initial release
2018-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.