View source: R/validation_utils.R
validate_list_input | R Documentation |
Validate list inputs into the tabulate functions
validate_list_input(x, values, variable_name, prefix = "Value", make_names = T)
x |
list or a vector. The instructions/groupings to be validated. Note: a vector is turned into a list. |
values |
vector. The values of the column that the instructions in x are relevant for. |
variable_name |
character. T |
prefix |
character of length 1. Prefix to be added to the automatic naming process. |
make_names |
logical. Should names be added to x if they don't exist already. |
A validated list input, optionally with names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.