Description Usage Arguments See Also Examples
This function lets you visualize assisst network for one team. You need to use assists data downloaded with get_assists_fibalivestats() or get_assists_livefibaeurope().
1 | assist_network(assist.df, title = "Assist Network", max.players = 10)
|
assist.df |
data.frame, assists downloaded with get_assists_fibalivestats() or get_assists_livefibaeurope(). This function works only with data for one team. If you add assists for more than one team this function will choose the team with most assists. |
title |
character, assist network title, 'Assist Network' set by default |
max.players |
numeric, maximum number of players used to visualize assists network |
get_assists_fibalivestats
, get_assists_livefibaeurope
1 2 3 4 5 6 7 8 9 | #get example assists data from argentinian league season 2015/16 using data()
#it will be stored in arg_assists
data("arg_assists")
#subset assists for Peñarol
assists = arg_assists[arg_assists$team == 'PEÑAROL',]
#plot assist network, change title
assist_network(assist.df = assists, title = 'Peñarol Assist Network')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.