shiny_vector_filter_numeric_many {IDEAFilter}R Documentation

A vector filter for numeric variables with only many choices

Description

A vector filter for numeric variables with only many choices

Usage

shiny_vector_filter_numeric_many(
  input,
  output,
  session,
  x = shiny::reactive(numeric()),
  filter_na = shiny::reactive(FALSE),
  filter_fn = NULL,
  verbose = FALSE,
  erase_filters = shiny::reactive(0)
)

Arguments

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 logical TODO

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 logical value indicating whether or not to print log statements out to the console

Value

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.


[Package IDEAFilter version 0.2.0 Index]