Last data update: 2014.03.03

R: Check data.frame for Required Columns
checkColumnsR Documentation

Check data.frame for Required Columns

Description

Internal function designed to assist checking for required columns in a data.frame.

Usage

checkColumns(data, mandatory=NA, numeric=NA)

Arguments

data

data.frame

mandatory

list of required columns

numeric

list of columns expected to be numeric

Value

boolean, or stop() with columns not meeting the criteria

Author(s)

James M. Ward jmw86069@gmail.com

Examples

## No examples currently

Results