get_columnno_fornames {IPDFileCheck} | R Documentation |
Function to return the column number for column name
Description
Function to return the column number for column name
Usage
get_columnno_fornames(data, column_name)
Arguments
data |
a data frame |
column_name |
column names of the data frame |
Value
column number, if success error, if failure
Examples
get_columnno_fornames(data.frame("Age" = c(21, 15),
"Name" = c("John", "Dora")), "Name")
[Package IPDFileCheck version 0.8.1 Index]