make_d3list: Creates a data frame for use with the networkD3 package

Description Usage Arguments Value Examples

Description

Creates a data frame for use with the networkD3 package

Usage

1
make_d3list(results)

Arguments

results

A dataframe containing rcv election results in the format produced by 'rcv_tally()'

Value

A list of 2 dataframes that can be used to construct sankey diagrams via the networkD3 package's 'sankeyNetwork()' function

Examples

1

rcv documentation built on May 2, 2019, 8:35 a.m.