Description Usage Arguments Value Examples
View source: R/polarization2D.v12.R
2D Plot (prototype).
1 2 3 |
congress |
Numeric. Session number. |
chamber |
Character. "house", "senate" or "both". |
state |
Character. Two character state postal abbreviation (e.g., "CA") or "US" (President). Lower case OK (e.g, "ca"). |
data.version |
Character. DW-NOMINATE flavor: "common", "common.weekly" or "dw". |
mcdonald |
Logical. Include Larry McDonald (GA-D). idno = 14252. |
stump |
Logical. Include Bob Stump (AZ-D). idno = 94454. |
alpha |
Numeric. Alpha level transparency. |
overlap.trim |
Numeric. Sets the smaller quantile to trim the range of scores. Must be on [0, 0.5). "0" uses minimum Republican score and maximum Democrat score. |
wt2D |
Logical. Weight second dimension. |
all |
Logical. Show legislator points. |
... |
Additional plotting parameters. |
An R plot.
1 2 3 | # polarization2D(chamber = "both")
# polarization2D(state = "CA")
# polarization2D(state = "ny")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.