searchData {wilson} | R Documentation |
Function to search data for selection
Description
Function to search data for selection
Usage
searchData(
input,
choices,
options = c("=", "<", ">"),
min. = min(choices, na.rm = TRUE),
max. = max(choices, na.rm = TRUE)
)
Arguments
input |
Vector length one (single) or two (ranged) containing numeric values for selection. |
choices |
Vector on which input values are applied. |
options |
Vector on how the input and choices should be compared. It can contain: single = c("=", "<", ">") or ranged = c("inner", "outer"). |
min. |
Minimum value that can be selected on slider (defaults to min(choices)). |
max. |
Maximum value that can be selected on slider (defaults to max(choices)). |
Value
Returns a logical vector with the length of choices, where every matched position is TRUE.
[Package wilson version 2.4.2 Index]