set_max_budget,optimizer-method | R Documentation |
Used to set a upper-bound budget for all lineups
## S4 method for signature 'optimizer' set_max_budget(object, max_budget)
object |
An optimizer object |
max_budget |
The max budget value |
Updated optimizer object
## Not run: # Set the maximum budget to 45000 opt <- opt %>% set_max_budget(45000) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.