testDataColumnNames

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

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

Usage
testDataColumnNames(column.names, data)
Arguments
column.names

column names of the data frame

data

a data frame

Value

0, if success -1, if failure

Aliases
  • testDataColumnNames
Examples
# NOT RUN {
testDataColumnNames(c("name","age"),data.frame("Age" = c(21,15), "Name" = c("John","Dora")))
# }
Documentation reproduced from package IPDFileCheck, version 0.3.0, License: CC0

Community examples

Looks like there are no examples yet.