extractPosteriorMeans {SIBER} | R Documentation |
Extract posterior means from call to siberMVN
Description
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.
Usage
extractPosteriorMeans(siber, post)
Arguments
siber |
a siber object as created by |
post |
a list containing the posterior estimated parameters fitted to
each group within every community. See |
Value
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.
[Package SIBER version 2.1.9 Index]