checkForMissingColumns | R Documentation |
Stops if data frame frm does not contain all columns of which the names are given in reqCols.
checkForMissingColumns(
frm,
reqCols,
do.stop = TRUE,
dataFrameName = deparse(substitute(frm))
)
frm |
data frame |
reqCols |
vector of names of which existence in frm shall be checked |
do.stop |
if TRUE, stop() is called else warning() if a column is missing |
dataFrameName |
the name of the data frame to be shown in the error message if a column was missing |
TRUE if all required columns are available, else FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.