Description Usage Arguments Value
Compute a summary table for the posterior samples for a parameter from a Stan model
1 2 3 4 5 6 7 8 9 |
from_stan |
A stanfit object from a call to rstan::stan() or rstan::sampling() containing posterior samples from the model. |
par |
Character string naming the parameter on which to compute the summary table. |
probs |
Vector of probabilities to show as columns in the summary table. |
X |
Optional contrast matrix as yielded from get_contrast_matrix() indicating the contrasts passed as data when creating the above stanfit object. |
W |
Optional contrast matrix as yielded from get_contrast_matrix() indicating the within-subjects contrasts passed as data when creating the above stanfit object. If present, X is ignored and B must be present. |
B |
Optional contrast matrix as yielded from get_contrast_matrix() indicating the between-subjects contrasts passed as data when creating the above stanfit object. W must be present, else B is ignored. |
is_cor |
A logical indicating whether the parameter is a correlation matrix. If TRUE, returns only the upper-diagonal entries. |
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.