mschart (version 0.2.4)

chart_data_smooth: Smooth series

Description

Specify mappings from levels in the data to smooth or not lines.

Usage

chart_data_smooth(x, values)

Arguments

x

an ms_chart object.

values

integer(num of series): a set of smooth values to map data values to. It is a named vector, the values will be matched based on the names. Possible values are 0 or 1 If it contains only one integer it will be associated to all existing series.

See Also

chart_data_fill, chart_data_stroke, chart_data_size

Examples

Run this code
# NOT RUN {
linec <- ms_linechart(data = iris, x = "Sepal.Length",
  y = "Sepal.Width", group = "Species")
linec <- chart_data_smooth(linec,
  values = c(virginica = 0, versicolor = 0, setosa = 0) )
# }

Run the code above in your browser using DataLab