extractPosteriorMeans | R Documentation |
siberMVN
This function extracts the posterior means from a call to
siberMVN()
which can then be used to calculate Bayesian layman
metrics. This function is designed to create an array of posterior means
that is more easily interrogated for plotting and summary statistics.
extractPosteriorMeans(siber, post)
siber |
a siber object as created by |
post |
a list containing the posterior estimated parameters fitted to
each group within every community. See |
A list of length n.communities with each entry representing a
n.draws * 2 * n.groups
array of rows equal to the number of posterior
samples, 2 columns representing the two means of the multivariate data and
n.groups
the number of groups within the focal community.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.