d3_rollcall_idealpoints: D3.js Ideal Point Estimation for legislative roll call data

Description Usage Arguments Building upon R ideal points graphs Author(s) Examples

View source: R/r2d3.R

Description

This function creates a D3.js ideal point estimation graph for legislative roll call data.

Usage

1
d3_rollcall_idealpoint()

Arguments

data

= data

width

= NULL

height

= NULL

Building upon R ideal points graphs

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.

Author(s)

Zoe Meers, Simon Jackman

Examples

1
## Not run: d3_rollcall_idealpoints(data=estimates, height=10, width=6)

USStudiesCentre/ussc documentation built on Sept. 2, 2020, 2:51 p.m.