getColumnNoForNames

Function to return the column number for column name

Function to return the column number for column name

Usage
getColumnNoForNames(data, column.name)
Arguments
data

a data frame

column.name

column names of the data frame

Value

column number, if success -1, if failure

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

Community examples

Looks like there are no examples yet.