lambda.MD(object, columns, ret.mcmc = TRUE)
eiMD
, output from ei.MD.bayes
TRUE
(default), samples are returned as mcmc
objects. If FALSE
, samples are returned as arrays. mcmc
object or a ($R x$
included columns $x$ samples) array.
columns = c(``Democrat", ``Republican")
will calculate
the two-party shares of Democrats and Republicans for each row.
ei.MD.bayes