Set minimum team requirement

# S4 method for optimizer
set_max_teams(object, max_teams)

Arguments

object

An optimizer object

max_teams

The maximum number of teams to include

Details

WARNING: You can very easily make your lineup ineligible for a site by doing things like set_max_teams(object, max_teams = 1)

Examples

if (FALSE) {
# Set minimum number of teams to 6
opt <- set_max_teams(opt, max_teams = 6)
}