R/r2d3.R
d3_rollcall_idealpoints.Rd
This function creates a D3.js ideal point estimation graph for legislative roll call data.
d3_rollcall_idealpoint()
data | = data |
---|---|
width | = NULL |
height | = NULL |
The function wraps around D3.js and requires installation of the RStudio daily build (see https://rstudio.github.io/r2d3/ for clarification). You can set the width and height of the graph. You must call the data by calling a data frame or matrix.
if (FALSE) d3_rollcall_idealpoints(data=estimates, height=10, width=6)