Learn R Programming

OmicFlow (version 1.5.0)

column_exists: Checks if column exists in table

Description

Mainly used within omics and other functions to check if given column name does exist in the table and is not completely empty (containing NAs).

Usage

column_exists(column, table)

Value

A boolean value.

Arguments

column

A character of length 1.

table

A data.table or data.frame.