check_names: check_names Verify for the required column names in the data...

View source: R/rbms_toolbox.r

check_namesR Documentation

check_names Verify for the required column names in the data object.

Description

check_names Verify for the required column names in the data object.

Usage

check_names(x, y)

Arguments

x

Data object in which the variables names are verified.

y

Variable names to be verified.

Details

This function is not case sensitive, but it does not accept different names or spelling.

Value

Verifyies if column names listed in y are found in the data set x, if not, a message identifies the missing column name and stops.

Author(s)

Reto Schmucki - reto.schmucki@mail.mcgill.ca


RetoSchmucki/rbms documentation built on Feb. 14, 2024, 3:17 a.m.