validate_input: Validates the variable browser inputs
Description
Validates the variable browser inputs
Usage
validate_input(input, plot_var, data)
Value
logical TRUE if validations pass; a shiny validation error otherwise
Arguments
- input
(session$input) the shiny session input
- plot_var
(list) list of a data frame and an array of variable names
- data
(teal_data) the datasets passed to the module