Description Usage Arguments Details Value
View source: R/visualize_data.R
groupTeamMatch returns a bar chart, grouped by team, ggplot object for individual match stats
1 | groupTeamMatch(df, x_lab, y_lab, visCols)
|
df |
A formatted dataframe. |
x_lab |
A string. Labels the x axis. |
y_lab |
A string. Labels the y axis. |
visCols |
A vector of hex color strings. Sets the colors of the chart. |
This function creates a grouped bar chart visualization comparing team/opp match stats, where color is based on the team.
If all parameters are valid, then the output will be a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.