Description Usage Arguments Details Value Author(s) Examples
Is an Argument a Filter Condition?
1 | assert_filter_cond(arg, optional = FALSE)
|
arg |
Quosure - filtering condition. |
optional |
Logical - is the argument optional? Defaults to |
Check if arg is a suitable filtering condition to be used in
functions like subset or dplyr::filter.
Performs necessary checks and returns arg if all pass.
Otherwise throws an informative error.
Ondrej Slama
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.