Description Usage Arguments Value Examples
A convenience function for filtering using quoted variable names
1 |
data_frame |
The data frame |
var_name |
The quoted name of the variable to use for filtering. |
level_names |
The values (typically factor levels) of the variable that you want to keep in the data, as vector of quoted value names. Or, if you set exclude = TRUE, the variables you want to throw away. |
exclude |
If TRUE, throw out rows with values listed in level_names. If FALSE, keep rows with values listed in level_names. |
A filtered data frame
1 2 3 4 5 6 | ## Not run:
shown %<>% filter_by(
var_name = "Vendor.Size",
level_names = input$vendor_size_filter)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.