Description Usage Arguments Value Examples
View source: R/processingDistances.R
Assign color by group
1 | groupColor(data, colorData, colors)
|
data |
A dataframe from makeConnections |
colorData |
A dataframe with group names and study.id |
colors |
A list of colors that should be assigned for each group |
A dataframe with colors by group name
1 2 | colored_data <- groupColor(data, colorData, c("yellow", "green"))
colored_data <- groupColor(data, colorData, c("#22105", "#00FF4E"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.