check_cols_exist {MAPCtools} | R Documentation |
Check if a set of columns is missing from a data frame. For use in aggregate_df
.
Description
Check if a set of columns is missing from a data frame. For use in aggregate_df
.
Usage
check_cols_exist(cols, df)
Arguments
cols |
String or vector of strings that is the name of the columns. |
df |
Data frame |
Value
Nothing. Casts an error message if any of the columns are missing.
[Package MAPCtools version 0.1.0 Index]