set_player_min_exp,optimizer-method | R Documentation |
Set a player's Minimum exposure by ID
## S4 method for signature 'optimizer' set_player_min_exp(object, id, exp)
object |
An optimizer object |
id |
The ID of a player |
exp |
A value of exposure |
Updated Optimizer object
## Not run: # 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.