shinystan-class | R Documentation |
shinystan
objectsSee as.shinystan
for documentation on creating
shinystan
objects and eight_schools
for an example
object.
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.
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
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.