checkVar function

checkVar: Function used to check variable names.

checkVar: Function used to check variable names.

Internal function used to check if variable is in dataset.

checkVar(data, var)

Arguments

  • data: A list of datasets.
  • var: A variable name.

Returns

A logical variable