convert_points_to_wins: Convert Points to Wins

Description Usage Arguments Value Examples

Description

Convert Points to Wins

Usage

1
convert_points_to_wins(model_data_list, points_per_win)

Arguments

model_data_list

List that must have the following:

  • "QB_table" - Table of QBs

  • "RB_table" - Table of RBs

  • "WR_table" - Table of WRs

  • "TE_table" - Table of TEs

points_per_win

Value indicating the number of points per win to use (will usually be the result of a function).

Value

The input position tables with WAR columns for air, yac, rush, and totals along with upper/lower bounds.

Examples

1
2
3
# Calculate the WAR values:
model_data_list <- model_data_list %>%
  convert_points_to_wins(model_data_list, points_per_win)

ryurko/nflWAR documentation built on May 9, 2019, 7:37 a.m.