lambda.reg.bayes {eiPack} | R Documentation |
Calculates the population share of row members in selected columns
lambda.reg.bayes(object, columns, ret.mcmc = TRUE)
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 |
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.
Ryan T. Moore <rtm@american.edu>