update_fpts,optimizer-method | R Documentation |
Method for updating fantasy points in an object
## S4 method for signature 'optimizer' update_fpts(object, fpts_data)
object |
An object of class Optimizer |
fpts_data |
a data.frame containing players and points. See details. |
The data.frame passed in fpts_data must contain two columns - id
and fpts
.
Updated optimizer object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.