Description Usage Arguments Examples
Write lineups for submission
1 2 3 | write_lineups(lineups, path = NULL, site = c("draftkings", "fanduel",
"fantasydraft"), sport = c("nfl", "mlb", "nba", "nhl", "nascar",
"pga"), ...)
|
lineups |
a normalized lineup |
path |
local disk path |
site |
name of DFS site |
sport |
name of sport |
... |
additional arguments passed to |
1 2 3 4 5 | ## Not run:
lineups <- optimize_generic(nhl, model)
write_lineups(lineups, "mylineups.csv", site = "fanduel", sport = "nhl")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.