| gen_input_map | R Documentation |
Generate Shiny Inputs for a vector of identifiers
gen_input_map(uid, FUN, id_prefix = NULL, ...)
uid |
a vector of unique identifiers |
FUN |
a ShinyInput function - should theoretically work for all shinyInput functions that have |
id_prefix |
a string that will be combined with the unique identifier and passed as the inputid |
... |
other arguments to be passed to the |
a character vector of shinyInputs
gen_input_map(1:5, shiny::numericInput, id_prefix = "playerid_", label = "my_label", value = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.