Description Usage Arguments Value Note
Checks whether specified column names exist in a data frame.
1 | CheckForMissingColumns(x, dataframe, what = "specified")
|
x |
(character) names of the columns. |
dataframe |
(data frame) data frame. |
what |
(string) string to use in the error message. |
If all tests pass, returns TRUE invisibly. Otherwise, an 'assertError' is thrown.
Convenient for checking function arguments. Quotes the name of the variable 'x'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.