start_auction: Start the NCAA Calcutta Shiny App

View source: R/auction-app.R

start_auctionR Documentation

Start the NCAA Calcutta Shiny App

Description

This Shiny App will help facilitate the auction

Usage

start_auction(teams, players, points, randomize = TRUE, random_seed = 156)

Arguments

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)

Examples

## 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)


nielsenmarkus11/NCAAcalcutta documentation built on March 27, 2024, 10:34 p.m.