test_columnnames: Function to test column names of a data being different from...

View source: R/IPDFilecheck.R

test_columnnamesR Documentation

Function to test column names of a data being different from what specified

Description

Function to test column names of a data being different from what specified

Usage

test_columnnames(column_names, data)

Arguments

column_names

column names of the data frame

data

a data frame

Value

0, if success error, if failure

Examples

test_columnnames(c("name", "age"), data.frame(
  "Age" =  c(21, 15),
  "Name" =  c("John", "Dora")
))

sheejamk/ipdfilecheck documentation built on March 10, 2024, 11:23 p.m.