Method for updating fantasy points in an object

# S4 method for optimizer
update_fpts(object, fpts_data)

Arguments

object

An object of class Optimizer

fpts_data

a data.frame containing players and points. See details.

Value

Updated optimizer object

Details

The data.frame passed in fpts_data must contain two columns - id and fpts.