cols_exist {codaredistlm}R 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.


[Package codaredistlm version 0.1.0 Index]