Learn R Programming

directlabels (version 2.9)

check.for.columns: check for columns

Description

Stop if a data.frame does not have some columns.

Usage

check.for.columns(d, must.have)

Arguments

d
data.frame to check.
must.have
column names to check.