custom_scoring: Create Custom Scoring

Description Usage Arguments Examples

Description

This function geerates a list of scoring settings that can be used as custom scoring setting for calculations. THe resulting list will still need to have a pts_bracket element added to handle points allowed for DSTs. See vignette("scoring_settings") about this.

Usage

1

Arguments

...

this can be indivdual scoring variables or a list of scoring variables for specific positions. The list will need to be named with a separated list of positions. Note that scoring for passing, kicking, and dst should never be specified within a list.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# Settings for a standard league:
custom_scoring(pass_yds = 0.04, pass_tds = 4,
               rush_yds = 0.1, rush_tds = 6,
               rec_yds = 0.1, rec_tds = 6)

# Settings for a PPR league
custom_scoring(pass_yds = 0.04, pass_tds = 4,
               rush_yds = 0.1, rush_tds = 6,
               rec = 1, rec_yds = 0.1, rec_tds = 6)

# Settings for a PPR league with TE premium
custom_scoring(pass_yds = 0.04, pass_tds = 4,
               rush_yds = 0.1, rush_tds = 6,
               "RB, WR, TE" = list(rec = 1, rec_yds = 0.1, rec_tds = 6),
               "TE" = list(rec = 0.5))

MrDAndersen/ffwebscrape documentation built on May 22, 2019, 1:51 p.m.