cols_exist: Check whether columns exist in a data.frame

View source: R/cols_exist.R

cols_existR Documentation

Check whether columns exist in a data.frame

Description

Check whether columns exist in a data.frame

Usage

cols_exist(dataf, cols)

Arguments

dataf

a data.frame

cols

character vector of columns to be checked in dataf

Value

An error if all cols not present in dataf. Returns TRUE invisibly otherwise.


tystan/deltacomp documentation built on Oct. 26, 2022, 7:24 a.m.