Learn R Programming

interfacer (version 0.3.3)

is_col_present: Check for existence of a set of columns in a dataframe

Description

Check for existence of a set of columns in a dataframe

Usage

is_col_present(df, ...)

Value

TRUE if the columns are all there, false otherwise

Arguments

df

a dataframe to test

...

the column names (unquoted)

Examples

Run this code
is_col_present(iris, Species, Petal.Width)

Run the code above in your browser using DataLab