process_seed | R Documentation |
This function processes the seed input for the Bootwar game. It converts the seed to an integer if it's not NA. If the seed is NA, it returns NULL.
process_seed(seed_input)
seed_input |
Numeric or NA. The input seed value from the Shiny app. |
Integer or NULL. If the input is not NA, it returns the integer value of the seed. Otherwise, it returns NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.