ScoreKicking: Score the kicking stats

Description Usage Arguments Value

Description

Applies scoring rules to the player kicking statistics. Default values are set to the standard scoring values.

Usage

1
2
ScoreKicking(x, FieldGoal19 = 3, FieldGoal29 = 3, FieldGoal39 = 3,
  FieldGoal49 = 4, FieldGoal50 = 5, ExtraPoint = 1)

Arguments

x

dataframe of player statistics data. Should be of the format produced by the GetStats() function.

FieldGoal19

Points awarded for field goals with a range of 19 yards or less.

FieldGoal29

Points awarded for field goals with range greater than 19 yards and a far as 29 yards

FieldGoal39

Points awarded for field goals with range greater than 29 yards and a far as 39 yards

FieldGoal49

Points awarded for field goals with range greater than 39 yards and a far as 49 yards

FieldGoal50

Points awarded for field goals with range greater than 50 yards

ExtraPoint

Points awarded for extra points

Value

1 by nrow(x) matrix with the total score for each row


kuhnrl30/Touchdown documentation built on May 20, 2019, 7:06 p.m.