Make line chart data.
lineChartData(x, y, data = NULL, key, color, area = FALSE)
a right-sided formula giving the variable on the x-axis, numeric or date type
a right-sided formula giving the variable on the x-axis, numeric type
dataframe containing the data for the chart; if not NULL
,
the variables passed to x
and y
are searched among the
columns of data
string, the title of the line chart
string, the color of the line chart
Boolean, whether to turn the line chart into a filled area chart
A list, for usage in lineChart
.