Set a player's Minimum exposure by ID

# S4 method for optimizer
set_player_min_exp(object, id, exp)

Arguments

object

An optimizer object

id

The ID of a player

exp

A value of exposure

Value

Updated Optimizer object

Examples

if (FALSE) {
# Set Patrick Mahomes to have a minimum exposure of 75%
ID <- get_player_id(opt, 'Patrick Mahomes')
opt <- opt %>% set_player_min_exp(id = ID, exp = .75)
}