substitution_analysis: Substitution Analysis

Description Usage Arguments

View source: R/fpl_db_fns.R

Description

Analyze substitutions - how beneficial were the substitutions? Take the substitutions applied in a game week and project out a number of weeks to determine the points differential between the added player and the dropped player.

Usage

1
2
substitution_analysis(f, start_week = 2, number_weeks = 1,
  managers = c())

Arguments

f

an fpl object

start_week

Integer. Week to start the analysis from (default = 2)

number_weeks

Integer. Number of weeks to run analysus (default = 1).

managers

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


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