Description Usage Arguments Examples
Function checks if all variables used in logical subset expression are contained in dataframe. If not an error is thrown and the missing variables are listed.
1 |
x |
A dataframe. |
e |
Logical expression as a string or wrappd in |
1 2 3 4 5 | ## Not run:
stop_if_not_all_subset_vars_in_df(mtcars, .(mpg > 20))
stop_if_not_all_subset_vars_in_df(mtcars, .(mpg2 > 20))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.