Learn R Programming

orchaRd (version 2.2.1)

.column_exists: Check if Column Exists

Description

Verifies if a specified column exists in the data frame

Usage

.column_exists(data, column_name)

Value

logical. TRUE if the column exists, FALSE otherwise

Arguments

data

data.frame. A data frame to check

column_name

character. The name of the column to look for

Author

Facundo Decunta - fdecunta@agro.uba.ar