Learn R Programming

BAwiR (version 1.3.4)

get_map_nats: Nationalities map

Description

A world map is represented. The countries from where there are players in the competition selected are in green color.

Usage

get_map_nats(df_stats)

Value

Graphical device.

Arguments

df_stats

Data frame with the statistics and the corrected nationalities.

Author

Guillermo Vinue

See Also

do_map_nats

Examples

Run this code
if (FALSE) {
compet <- "ACB"
df <- do_join_games_bio(compet, acb_games_1718, acb_players_1718)
df1 <- do_add_adv_stats(df)
df2 <- do_stats(df1, "Total", "2017-2018", compet, "Regular Season")
get_map_nats(df2)
}
        

Run the code above in your browser using DataLab