| get_column_no_colnames | R Documentation | 
Function to return the column number for column name
get_column_no_colnames(data, column_name)
data | 
 a data frame  | 
column_name | 
 column names of the data frame  | 
column number, if success -1, if failure
get_column_no_colnames(data.frame(age = rep(20, 4), 
sex = rep("male", 4)), "sex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.