Description Usage Arguments Value Examples
View source: R/weekly_splits.R
creates splits table
1 2 3 4 | weekly_split(fwd, player_pos_name, measure_vars, year_filter, week_split,
player_pos_split, home_away_split, team_split, opponent_split,
gameday_split, gamestart_time_split, win_split, posrank_year = 2018,
df_output, transpose_output = TRUE, pfrplayers)
|
fwd |
player database |
player_pos_name |
player to check splits |
measure_vars |
variables to check splits |
year_filter |
vector of years |
week_split |
vector of weeks |
player_pos_split |
player to split on |
team_split |
team to split on |
opponent_split |
opponent to split on |
gameday_split |
game day to split on |
gamestart_time_split |
game time to split on |
win_split |
win/loss to split on |
posrank_year |
year to get posrank for projection |
df_output |
dataframe to return |
transpose_output |
default to TRUE |
pfrplayers |
PFR player database |
dataframe
1 | weekly_split(fwd,player_pos_name, measure_vars, year_filter, week_split, player_pos_split, home_away_split, team_split,opponent_split, gameday_split, gamestart_time_split, win_split,posrank_year = 2018, df_output, transpose_output = TRUE,pfrplayers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.