Description Usage Arguments Value
Wrapper for rstan::get_posterior_mean()
making it less cumbersome to extract
the mean of a parameter (or other quantity) across all chains.
1 | stan_mean(object, pars)
|
object |
An object of class stanfit. |
pars |
Character string providing the parameter (or other quantity) name of interest. |
... |
Additional arguments to be passed to |
When permuted = TRUE (the default), this function returns an array
representing samples for par
with all chains merged together.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.