Learn R Programming

googleVis (version 0.5.1)

gvisLineChart: Google Line Chart with R googleChartName <- "linechart" gvisChartName <- "gvisLineChart"

Usage

gvisLineChart(data, xvar = "", yvar = "", options = list(), chartid)

Arguments

data
a data.frame to be displayed as a line chart
xvar
name of the character column which contains the category labels for the x-axes.
yvar
a vector of column names of the numerical variables to be plotted. Each column is displayed as a separate line.
options
list of configuration options, see [results=rd]{gsub("CHARTNAME", googleChartName, readLines(file.path(".", "inst", "mansections", "GoogleChartToolsURLConfigOptions.txt")))}

[results=rd]{paste(readLines(file.path(".", "inst", "mansection