Description Usage Arguments Details Examples
View source: R/descriptive_plots.R
This function plots the goal differences for one specified team.
1 | plot_goal_difference(game_data, team, cumulated = TRUE)
|
game_data |
Output of the function |
team |
A team name as a string. |
cumulated |
If |
Description of the colours of the data points:
Green | Matches won |
Orange | Matches drawn |
Red | Matches lost |
1 2 3 | data <- all_game_data(amateuR::kreisliga_goettingen)
plot_goal_difference(game_data = data, team = "RSV Göttingen 05", cumulated = TRUE)
plot_goal_difference(game_data = data, team = "RSV Göttingen 05", cumulated = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.