Description Usage Arguments Value
numeric_classify
1 | numeric_classify(var_name, data, rule)
|
var_name |
the current varaible under test #!. |
data |
data.frame whose rows are to be categorised according to a provided set of rules. |
rule |
a character vector of length one that specifies the rule to test. The rule can either indicate a value must be present ("1") or absent ("0") or test the entered value using one of the set of comparison functions ("==", ">=", "<=", ">", "<"). If a comparison function is used any NA value in the data is assumed to have failed the test. If an empty string is entered for the rule, any value is assumed correct. |
logical vector indicating which elements of the data match the rule.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.