View source: R/get_table_results.R
get_table_results | R Documentation |
The league results are represented with a cross table.
get_table_results(df, competition, season)
df |
Data frame with the games and the players info. |
competition |
Competition. |
season |
Season. |
List with these two elements:
plot_teams Graphical device with the cross table.
wins_teams Vector with the team wins.
Guillermo Vinue
## Not run:
df <- do_join_games_bio("ACB", acb_games_1718, acb_players_1718)
df$Compet <- "ACB"
gg <- get_table_results(df, "ACB", "2017-2018")
gg$wins_teams
gg$plot_teams
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.