add_stack_size_constraint: Stack best available teams with variable sizes

Description Usage Arguments

View source: R/generic-model.r

Description

Stack best available teams with variable sizes

Usage

1
add_stack_size_constraint(model, mlb, stack_sizes, stack_teams = NULL)

Arguments

model

model

mlb

data

stack_sizes

size of each stack

stack_teams

subset of teams to select for stacking. leave NULL to allow any team


dfs-with-r/coach documentation built on Dec. 25, 2021, 12:43 p.m.