Description Usage Arguments Examples
This function plots the team performance of different teams from England.
1 | plot_performance(data, perfrm_vars, teams, all = FALSE)
|
data |
the data set of merged data |
perfrm_vars |
the performance variables that want to compare |
teams |
the team names of given teams |
all |
If all is true, it will give the performance comparison of all teams. The default value of all is FALSE. |
1 2 3 4 | # Example: Graph the Performance of Different Teams
teams <- c("Liverpool", "Chelsea", "Arsenal", "Chelsea", "everton", "fulham")
plot_performance(football.teams, teams, perfrm_vars = c("points", "won", "loss"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.