gvisPieChart: Google Pie Chart with R
googleChartName <- "piechart"
gvisChartName <- "gvisPieChart"
Usage
gvisPieChart(data, labelvar = "", numvar = "", options = list(), chartid)
Arguments
labelvar
Name of the character column which contains the category
labels for the slice labels.
numvar
a vector of column names of the numerical variables of the
slice values.
options
list of configuration options for Google Pie Charts, see:
[results=rd]{gsub("CHARTNAME",
googleChartName,
readLines(file.path(".", "inst", "mansections",
"GoogleChartToolsURLConfigOptions.txt")))} [results=rd]{paste(readLines(file.path(".