mbd_two: Multinomial Dirichlet Bayes Draw Two Candidates

Description Usage Arguments Value Author(s) Examples

Description

Extract posterior means and credible intervals. Need to label candidate vote variables: V1, V2, when two=F, add V3; Hispanic = VtdHVap_cor, White = VtdAVap_cor, Black = VtdBVap_cor

Usage

1
2
mbd_two(md, colnames, two=TRUE)
  

Arguments

md

object from ei.MD.bayes() return

colnames

Vector of candidate names. Stick to c(V1,V2) or c(V1,V2,V3)

two

Logical. Two candidates (TRUE), or three (FALSE)

Value

List with two data frames

Author(s)

Loren Collingwood <loren.collingwood@ucr.edu>

Examples

1
2
3
  
  # EXAMPLE: NOT RUN #
  

lorenc5/eiCompare documentation built on June 5, 2019, 5:18 p.m.