ch.getPlotLegendValsFromData | R Documentation |
This function creates unique color, line type, and point type for up to two groups to be plotted from a dataframe
ch.getPlotLegendValsFromData(
data,
grpCols,
maxIntensityChanges = 8,
maxHueChanges = 10
)
data |
the dataframe to be plotted. |
grpCols |
a vector of strings specifying the column names of the grouping variables. |
a list with all the subsetted dataframes
ch.getPlotLegendValsFromData (myDataframe, c("gender", "condition"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.