Description Usage Arguments Details Value
View source: R/select_options.R
select_options()
takes a column of a dataframe and creates a character vector
of all unique values within that column.
1 |
df |
A dataframe |
col |
The name of a column from the dataframe |
all |
Default is FALSE, when TRUE will add "All" to the vector |
none |
Default is FALSE, when TRUE will add "None" to the vector |
Used to create a list of options from the unique values within a column.
A character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.