set_player_max_exp,optimizer-method | R Documentation |
Set a player's max exposure by ID
## S4 method for signature 'optimizer' set_player_max_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 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.