check_column_existence: Check if columns exist in a data frame

Description Usage Arguments Value Examples

View source: R/check_column_existence.R

Description

Check if columns exist in a data frame

Usage

1

Arguments

df

A data frame

col_names

A vector of column names

Value

Boolean indicating if all specified column names exist in the data frame. Otherwise, a message ascertaining non-existence of columns is displayed

Examples

1
check_column_existence(mtcars, c("mpg", "disp"))

antchau/glider documentation built on Dec. 1, 2020, 9:23 p.m.