ScoreReceiving: Score the receiving stats

Description Usage Arguments Value

Description

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

Usage

1
ScoreReceiving(x, ReceivingYds = c(10, 1), ReceivingTD = 4)

Arguments

x

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

ReceivingYds

Vector with the yardage increment and point value. As an example, a player is awarded 1 point for every 10 yards, then the score rule is of the format c(10,1)

ReceivingTD

Points awarded for receiving touchdowns

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.