Learn R Programming

conquestr (version 1.4.5)

checkNoExtraVars: checkNoExtraVars

Description

Check that the raw data does not include extraneous variables.

Usage

checkNoExtraVars(data, varNames, except = NULL)

Value

A list.

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.