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 `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.

### Value

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.

### Author(s)

Ryan T. Moore <rtm@wustl.edu>

### See Also

`ei.reg.bayes`

[Package eiPack version 0.1-6 Index]