assist_network: Visualize assist networks for teams

Description Usage Arguments See Also Examples

Description

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().

Usage

1
assist_network(assist.df, title = "Assist Network", max.players = 10)

Arguments

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

See Also

get_assists_fibalivestats, get_assists_livefibaeurope

Examples

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

bziarkowski/euRobasket documentation built on May 17, 2019, 9:12 a.m.