play_data_adjustment {AdvancedBasketballStats}R Documentation

Play data adjustment

Description

The function transform the statistics entered for later use in the rest of the functions that apply to play statistics.

Usage

play_data_adjustment(df1)

Arguments

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.

Details

Value

The data frame obtained for the play statistics will have the following format:

Author(s)

Fco Javier Cantero fco.cantero@edu.uah.es

Juan José Cuadrado jjcg@uah.es

Universidad de Alcalá de Henares

Examples


df1 <- data.frame("Name" = c("Sabonis ","Team"), "GP" = c(62,71),
"PTS" = c(387,0), "FG" = c(155,1), "FGA" = c(281,1),
"3P" = c(6,1),"3PA" = c(18,1), "FT" = c(39,1),  "FTA" = c(53,1),
"ANDONE" = c(12,1), "AST" = c(0,1), "TOV" = c(27,1))

play_data_adjustment(df1)


[Package AdvancedBasketballStats version 1.0.1 Index]