get_table_results: League cross table

Description Usage Arguments Value Author(s) Examples

View source: R/get_table_results.R

Description

The league results are represented with a cross table.

Usage

1
get_table_results(df, competition, season)

Arguments

df

Data frame with the games and the players info.

competition

Competition.

season

Season.

Value

List with these two elements:

Author(s)

Guillermo Vinue

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

BAwiR documentation built on July 8, 2020, 6:59 p.m.