Learn R Programming

googleVis (version 0.5.2)

gvisSankey: Google Sankey Chart with R googleChartName <- "sankey" gvisChartName <- "gvisSankey"

Usage

gvisSankey(data, from = "", to = "", weight = "", options = list(),
  chartid)

Arguments

data
data.frame that contains the data to be visualised
from
a string that referes to the column name in data for the source nodes to be used
to
a string that referes to the column name in data for the destination nodes to be used
weight
name of the column with the numerical weight of the connections
options
list of configuration options. The options are documented in detail by Google online: [results=rd]{gsub("CHARTNAME", googleChartName, readLines(file.path(".", "inst", "mansections", "GoogleChartToolsURLConfigOptions.txt")))}

[resu