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 eiRegBayes , the output from ei.reg.bayes |
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 mcmc
object. |
If ret.mcmc = TRUE
, draws are returned as an mcmc
object
with dimensions sample x C. If ret.mcmc =
FALSE
, draws are returned as an array with dimensions R x C x samples array.
Ryan T. Moore <rtmoore@fas.harvard.edu>