mbd_two_minority: Multinomial Dirichlet Bayes Draw Two Candidates, and...

View source: R/mbd_two_minority.R

mbd_two_minorityR Documentation

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)

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>


eiCompare documentation built on Aug. 31, 2023, 5:16 p.m.