View source: R/do_preproc_period.R
| do_preproc_period | R Documentation |
Preprocess the data that will be needed for computing statistics per period.
do_preproc_period(data, team_sel, period_sel, data_sl)
data |
Prepared data from a given game. |
team_sel |
One of the teams' names involved in the game. |
period_sel |
Period of interest. Options can be "xC", where x=1,2,3,4. |
data_sl |
Data with the starting lineups. |
Guillermo Vinue
team_sel <- "Valencia Basket"
period_sel <- "1C"
pre_per <- do_preproc_period(acb_vbc_cz_pbp_2223, team_sel, period_sel, acb_vbc_cz_sl_2223)
df2 <- pre_per$df2
df0_inli_team <- pre_per$df0_inli_team
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.