get_map_nats {BAwiR} | R Documentation |
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)
Arguments
df_stats |
Data frame with the statistics and the corrected nationalities. |
Value
Graphical device.
Author(s)
Guillermo Vinue
See Also
Examples
## Not run:
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)
## End(Not run)
[Package BAwiR version 1.3.2 Index]