Description Usage Arguments Value See Also Examples
This function calculate stats for each lineup in stints. Stints can be downloaded using get_stints_fibalivestats() or get_stints_livefibaeurope().
1 | lineups_stats(stints.df, min.possessions = 1, ratings.only = FALSE)
|
stints.df |
data.frame, stints downloaded with get_stints_fibalivestats() or get_stints_livefibaeurope() |
min.possessions |
numeric, set to 1 by default, minimum number of possessions for lineups to be included in function results |
ratings.only |
logical, set to FALSE by default, if set to TRUE for each lineup function results will only show number of possessions, offensive rating, defensive rating and net rating |
data.frame with stats for each lineup
get_stints_fibalivestats
, get_stints_livefibaeurope
1 2 3 4 5 6 7 | #get lineups stats for basketball champions league
#firstly get the stints from bcl using data()
data("cl_stints")
#use lineup_stats() to get stats for each lineup that played more than 10 possessions
lineups_stats(cl_stints, min.possessions = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.