extract_stan_summary | R Documentation |
This function extracts the summary statistics from a fitted Stan model stored within
a x
object, formats the parameter names, and rounds values to a specified number
of decimal places. By default, the function includes an intercept term in the summary if
present.
extract_stan_summary(x, digit = 3, with_intercept = TRUE)
x |
A model object generated from |
digit |
An integer specifying the number of decimal places to which the summary statistics should be rounded. Default is 3. |
with_intercept |
A logical value indicating whether the intercept should be included
in the summary. If |
A matrix of rounded summary statistics from the Stan model, with row names representing parameter labels and columns containing summary values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.