get_table_results {BAwiR}R Documentation

League cross table

Description

The league results are represented with a cross table.

Usage

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

## 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)


[Package BAwiR version 1.2.6 Index]