set_player_max_exp-optimizer-method.Rd
Set a player's max exposure by ID
# S4 method for optimizer
set_player_max_exp(object, id, exp)
An optimizer object
The ID of a player
A value of exposure
Updated Optimizer object
if (FALSE) {
# Set Carey Price to have a maximum exposure of 75%
ID <- get_player_id(opt, 'Carey Price')
opt <- opt %>% set_player_max_exp(id = ID, exp = .75)
}