Description
Check raw data: are all required variables preseent and
ensure there are no extraneous variables.
Usage
checkVars(data, varNames, except = NULL)
Arguments
- data
Raw data, a data frame.
- varNames
Vector of valid variable names.
- except
A vector of variable names to be excluded form the check.