constr_team_stack | R Documentation |
Adds Same-Team stacks
constr_team_stack( model, players, positions, opt_positions = NULL, nstacks = 1, within_lines = FALSE )
model |
Model object |
players |
List of player objects |
positions |
Positions for that should be stacked within a single team |
opt_positions |
Optional positions – used to add OR-level positions (e.g., stack of QB, WR & (TE | RB)) |
nstacks |
Number of stacks to try to include (Default is 1) |
within_lines |
Logical. Whether to generate stacks within lines (works for hockey and nothing else) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.