Learn R Programming

Glimma (version 1.0.0)

hasColumns: Column checker

Description

Check if data.frame controls all the listed columns

Usage

hasColumns(df, columns)

Arguments

df
the data frame to check.
columns
the columns that should exist in the data frame.

Value

stops program with an error if column cannot be found in df