Description Usage Arguments Value
Function that checks whether a set of columns given as a vector of strings is in a data frame and, if not, gives feedback on which are missing before stopping execution of the program.
1 2 | checkDfCols(requiredCols, dfName,
specifiedIn = "which was specified in preferences")
|
requiredCols |
A character vector containg the names of columns the presence of which in a data frame is to be verfied |
dfName |
Name of the data frame in which the columns in requiredCols are to be found |
specifiedIn |
An optional argument (default) that allows the output to detail where the varaible names can be changed by the user |
TRUE, unless it stopped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.