Description Usage Arguments Value
Checks for bad values in given columns.
1 | CheckForBadValues(x, columns, CHECK, good = TRUE, what = "invalid", ...)
|
x |
(data frame) any data frame. |
columns |
(character) columns to check. |
CHECK |
(function) function that returns a logical vector (of length
|
good |
(logical) the value or values that indicate a 'good' value. Other values returned by 'CHECK' will be 'bad' and throw an error. |
what |
(string) a string to display in the informative message. |
... |
further arguments passed on to function 'CHECK'. |
If all tests pass, returns NULL invisibly. Otherwise, an 'assertError' is thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.