View source: R/do_add_adv_stats.R
do_add_adv_stats | R Documentation |
This function adds to the whole data frame the advanced statistics for every player in every game.
do_add_adv_stats(df)
df |
Data frame with the games and the players info. |
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/.
Data frame.
Guillermo Vinue
do_OE
, do_EPS
df <- do_join_games_bio("ACB", acb_games_1718, acb_players_1718)
df1 <- do_add_adv_stats(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.