plot_oc_rollcall | R Documentation |
Produces a plot of the legislators and cutting line for an individual roll
call vote for a oc
object.
plot_oc_rollcall(obj, data, shapeVar = NULL,
rcnum, rotMat = diag(2), dropNV=FALSE,
onlyErrors=FALSE, ptSize=4)
obj |
An object of class |
data |
|
shapeVar |
A vector of grouping variable values that will be used to identify groups of legislators (e.g., party). |
rcnum |
Number identifying the roll call to be plotted. |
rotMat |
A rotation matrix for the point configuration. |
dropNV |
Whether or not those who didn't vote Yea or Nay. |
onlyErrors |
Should only those legislators who voted counter to their model predictions be plotted? |
ptSize |
Size of symbols passed to |
A ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.