View source: R/choices_labeled.R
choices_labeled | R Documentation |
<choice>:<label>
" type of namesThis is often useful for as it marks up the drop-down boxes for shiny::selectInput()
.
choices_labeled(choices, labels, subset = NULL, types = NULL)
choices |
( |
labels |
( |
subset |
a vector that is a subset of |
types |
vector containing the types of the columns. |
If either choices
or labels
are factors, they are coerced to character.
Duplicated elements from choices
get removed.
A named character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.