weekly_split: Weekly Splits Table

Description Usage Arguments Value Examples

View source: R/weekly_splits.R

Description

creates splits table

Usage

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)

Arguments

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

Value

dataframe

Examples

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)

amazehayes/ffstatsfunctions documentation built on July 27, 2020, 10:53 p.m.