do_add_adv_stats {BAwiR} | R Documentation |
Advanced statistics
Description
This function adds to the whole data frame the advanced statistics for every player in every game.
Usage
do_add_adv_stats(df)
Arguments
df |
Data frame with the games and the players info. |
Details
The advanced statistics computed are as follows:
GameSc: Game Score.
PIE: Player Impact Estimate.
EFGPerc: Effective Field Goal Percentage.
ThreeRate: Three points attempted regarding the total field goals attempted.
FRate: Free Throws made regarding the total field goals attempted.
STL_TOV: Steal to Turnover Ratio.
AST_TOV: Assist to Turnover Ratio.
PPS: Points Per Shot.
OE: Offensive Efficiency.
EPS: Efficient Points Scored.
The detailed definition of some of these stats can be found at https://www.basketball-reference.com/about/glossary.html and https://www.nba.com/stats/help/glossary/.
Value
Data frame.
Author(s)
Guillermo Vinue
See Also
Examples
df <- do_join_games_bio("ACB", acb_games_1718, acb_players_1718)
df1 <- do_add_adv_stats(df)