shiny_vector_filter_numeric_few {IDEAFilter} | R Documentation |
A vector filter for numeric variables with only a few choices
shiny_vector_filter_numeric_few(
input,
output,
session,
x = shiny::reactive(factor()),
filter_na = shiny::reactive(FALSE),
filter_fn = NULL,
verbose = FALSE,
erase_filters = shiny::reactive(0)
)
input |
requisite shiny module field specifying incoming ui input reactiveValues |
output |
requisite shiny module field capturing output for the shiny data filter ui |
session |
requisite shiny module field containing the active shiny session |
x |
The TODO |
filter_na |
The |
filter_fn |
A function to modify, specified in one of the following ways: * A named function, e.g. 'mean'. * An anonymous function, e.g. '\(x) x + 1' or 'function(x) x + 1'. * A formula, e.g. '~ .x + 1'. |
verbose |
a |
a reactiveValues
list containing a logical
vector called "mask" which can be used to filter the provided vector and an
element "code" which is the expression used to generate the mask.