Description Usage Arguments Details Value Author(s) Examples
View source: R/play_data_adjustment.R
The function transform the statistics entered for later use in the rest of the functions that apply to play statistics.
1 | play_data_adjustment(df1)
|
df1 |
Should be a Data Frame that represents the play's statistics. The parameter has to be in the format provided by the play_data_adjustment() function. |
The data.frame must have the same columns and these represent the same as in the example.
The input data.frame must have the last row that represents the team's statistics.
The function allows the transformation of the play statistics to which the shooting percentages.
The data frame obtained for the play statistics will have the following format:
Name of the player (Name)
Games Started (GS)
Points (PTS)
Field Goals Made (FG)
Field Goals Attempted (FGA)
Field Goals Percentage (FG%)
Three Points Made (3P)
Three Points Attempted (3PA)
Three Points Percentage (3P%)
Two Points Made (2P)
Two Points Attempted (2PA)
Two Points Percentage (2P%)
Free Throw Made (FT)
Free Throw Attempted (FTA)
Free Throw Percentage (FT%)
And One Times (ANDONE)
Assists (AST)
Turnover (TOV)
Fco Javier Cantero fco.cantero@edu.uah.es
Juan José Cuadrado jjcg@uah.es
Universidad de Alcalá de Henares
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.