start_auction | R Documentation |
This Shiny App will help facilitate the auction
start_auction(teams, players, points, randomize = TRUE, random_seed = 156)
teams |
This should be a dataframe with rank, region, team, and opponent |
players |
This should be a character vector of all those participating |
points |
This is the total number of points each player starts with |
randomize |
(Default: TRUE) This determines whether you'd like to randomize the order of which teams are auctioned By default this is a block randomization so that you will get a 1-16 seed before you see the next group of 1-16 seeds |
random_seed |
Set a custom random seed (default = 156) |
## Not run:
# Input the 2018 teams
teams <- import_teams(system.file("extdata", "ncaa-teams.csv", package = "NCAAcalcutta"))
players <- c('Mark','Markus','Marko','Marky')
points <- 1200
start_auction(teams, players, points, randomize=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.