Description Usage Arguments Value See Also Examples
On/off splits shows how team and opponents played with and without selected players. For this function selected players needs to be from the same team. You can select up to 5 players. To get all available players in stints use get_on_off_splits_players()
1 | on_off_splits(stints.df, players)
|
stints.df |
data.frame, stints download with get_stints_fibalivestats() or get_stints_livefibaeurope() |
players |
a character vector with player or players for on/off splits, Max number of players is 5. |
list with data.frames, data frames contains different stats types: Ratings, Team Shooting, Opponent Shooting, Team Playmaking, Opponent Playmaking, Team Boxscore Defensive, Opponent Boxscore Defensive
get_on_off_splits_players
, get_stints_fibalivestats
, get_stints_livefibaeurope
1 2 3 4 5 6 7 8 9 10 11 12 | #get on/off splits from Basketball Champions League
#firstly get the stints from bcl using data(), stored in cl_stints
data("cl_stints")
#check available players
get_on_off_splits_players(cl_stints)
#get on/off splits for M. PONITKA
on_off_splits(cl_stints, players = 'M. PONITKA')
#get on/off splits for M. PONITKA, D. SUMMERS and J. BROWN
on_off_splits(cl_stints, players = c('M. PONITKA', 'D. SUMMERS', 'J. BROWN'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.