lambda.reg.bayes {eiPack} | R Documentation |
Calculate shares using data from Bayesian regression model
Description
Calculates the population share of row members in selected columns
Usage
lambda.reg.bayes(object, columns, ret.mcmc = TRUE)
Arguments
object |
An R object of class |
columns |
a character vector indicating which column marginals to be included in calculating the shares |
ret.mcmc |
If TRUE, posterior shares are returned as an |
Value
If ret.mcmc = TRUE
, draws are returned as an mcmc
object
with dimensions sample \times C
. If ret.mcmc =
FALSE
, draws are returned as an array with dimensions R
\times C \times
samples array.
Author(s)
Ryan T. Moore <rtm@american.edu>
See Also
[Package eiPack version 0.2-2 Index]