prior_summary.stanreg in the
rstanarm package for an example.
1 2 3 4
The object to use.
Arguments passed to methods. See the methods in the rstanarm package for examples.
prior_summary methods should return an object containing
information about the prior distribution(s) used for the given model.
The structure of this object will depend on the method.
The default method just returns
object$prior.info, which is
NULL if there is no
Guidelines and recommendations for developers of R packages interfacing with Stan and a demonstration getting a simple package working can be found in the vignettes included with rstantools and at http://mc-stan.org/rstantools/articles/.
# See help("prior_summary", package = "rstanarm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.