lineups_stats: Get stats for lineups from stints

Description Usage Arguments Value See Also Examples

Description

This function calculate stats for each lineup in stints. Stints can be downloaded using get_stints_fibalivestats() or get_stints_livefibaeurope().

Usage

1
lineups_stats(stints.df, min.possessions = 1, ratings.only = FALSE)

Arguments

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

Value

data.frame with stats for each lineup

See Also

get_stints_fibalivestats, get_stints_livefibaeurope

Examples

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)

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