Skip to contents

Add replacement level players to each roster

Usage

ffs_add_replacement_level(
  rosters,
  latest_rankings,
  franchises,
  lineup_constraints,
  pos_filter = c("QB", "RB", "WR", "TE")
)

Arguments

rosters

a dataframe of rosters as created by ffs_rosters()

latest_rankings

a dataframe of latest rankings as created by ff_latest_rankings()

franchises

a dataframe of franchises as created by ffs_franchises()

lineup_constraints

a dataframe of lineup constraints as created by ffs_starter_positions

pos_filter

a character vector of positions to filter to, defaults to c("QB","RB","WR","TE","K")

Value

a dataframe of rosters with replacements