Description Usage Arguments Value Examples
This function asks a user to input the round number for a completed debate round. The function checks to see if the input is less than the maximum number of rounds in the tournament, greater than 0, and that all debates in the previous round has been completed. If any of these conditions are not satisfied, it will ask the user to input a different round number. To exit the loop, the user can type quit and the function will return NULL.
1 | get_rd_num(maxRounds = NULL)
|
maxRounds: |
The maximum number of rounds in the tournament (numeric) |
The user inputed round number
1 2 | get_rd_num()
get_rd_num(maxRounds=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.