Learn R Programming

eiCompare (version 3.0.4)

mbd_two_minority: Multinomial Dirichlet Bayes Draw Two Candidates, and White/Minority voters

Description

Extract posterior means and credible intervals. Need to call variables V1, V2. When two=FALSE, add in V3; Race names = VtdAVap_cor, VtdMVap_cor

Usage

mbd_two_minority(md, colnames, two = TRUE)

Value

List with two data frames

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)

Author

Loren Collingwood <loren.collingwood@ucr.edu>