Description Usage Arguments Value
Applies scoring rules to the player statistics. Default values are set to the standard scoring values.
| 1 | ScoreRushing(x, RushingYds = c(10, 1), RushingTD = 6, FumbleLost = -2)
 | 
| x | dataframe of player statistics data. Should be of the format produced by the GetStats() function. | 
| RushingYds | 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) | 
| RushingTD | Points awarded for rushing touchdowns | 
| FumbleLost | Points awarded for each fumble lost. Since this function is for offensive stats, a fumble lost would occur when the defense recovers the fumble. | 
1 by nrow(x) matrix with the total score for each row
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.