Description Usage Arguments Building upon R ideal points graphs Author(s) Examples
This function creates a D3.js ideal point estimation graph for legislative roll call data.
1  | 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.
Zoe Meers, Simon Jackman
1  | ## Not run: d3_rollcall_idealpoints(data=estimates, height=10, width=6)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.