checkVars function

checkVars

checkVars

Check raw data: are all required variables preseent and ensure there are no extraneous variables.

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.

Returns

A list.

  • Maintainer: Dan Cloney
  • License: GPL-3
  • Last published: 2025-02-19