checkColumnExists

Function to check the given column exists

Function to check the given column exists

Usage
checkColumnExists(column.name, data)
Arguments
column.name

a column name

data

data frame

Value

0 if success -1 if failure

Aliases
  • checkColumnExists
Examples
# NOT RUN {
checkColumnExists("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.