set_player_variance-optimizer-method.Rd
Set a player's max exposure by ID
# S4 method for optimizer
set_player_variance(object, id, variance)
An optimizer object
The ID of a player
A value of variance
Updated Optimizer object
if (FALSE) {
# Set Carey Price's fpts to vary by plus-or-minus 25%
ID <- get_player_id(opt, 'Carey Price')
opt <- opt %>% set_player_variance(id = ID, variance = .25)
}