Description Usage Arguments Value
Based on list of scoring rules calculate fantasy points using projection data passed in a table
1 | calculatePoints(projectionData = data.table(), scoringRules = list())
|
projectionData |
A data.table with projected stats. Should from the getMeltedData function |
scoringRules |
A list of scoring rules with one element per position |
A data.table with up to 4 cloumns
The position the player is playing
The ID of the player. Get player names by merging results from getPlayerData
The ID of the analyst which projections are used as the basis for the points
The calculated number of fantasy points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.