Provides the appropriate function arguments for the input function selected
by filterInput() or updateFilterInput().
args_filter_input(x, ...)args_update_filter_input(x, ...)
A named list of arguments for a shiny input function
The object being passed to filterInput() or updateFilterInput().
Additional arguments passed to the method. See details.
The following arguments are supported in ...:
(Date, POSIXt). Logical. If TRUE, args_filter_input() will provide
the arguments for range date inputs. Only applies when x is of class
Date or POSIXt.
(character). Logical. If FALSE (the default), args_filter_input()
will provide the arguments for select inputs.
(character, factor, logical). Logical. If TRUE, the choices
provided to select inputs will not be modified. If FALSE (the default),
duplicate values will be removed and the choices will be sorted. Only
applies when x is of class character, factor, or logical.
If TRUE, indicates that the choices will be provided server-side. In
this case, arguments are not computed for args_filter_input(). Ignored
in args_update_filter_input().
An optional named list of arguments passed to unique(), called when x
is a character, factor, or logical, textbox = FALSE, and
choices_asis = FALSE.
An optional named list of arguments passed to sort(), which is called
after unique().
args_filter_input(iris$Petal.Length)
Run the code above in your browser using DataLab