substitutions: Substitutions by week

Description Usage Arguments Value

View source: R/fpl_db_fns.R

Description

Return a table of substitutions by manager by week

Usage

1
substitutions(f, weeks = c(), managers = c())

Arguments

f

an fpl object

weeks

Vector of weeks. If empty then include all weeks. If a vector of length one then determine substitutes up to this week. If a vector of length two then determine substitutes between these weeks.

managers

Vector of teams. Vector of manager names, manager IDs or team names. If empty then include all teams

Value

list of three dataframes. The first contains all data and the second contains a summary table #'


harveyl888/fplR documentation built on Aug. 21, 2019, 1:15 a.m.