get_columnno_fornames | R Documentation |
Function to return the column number for column name
get_columnno_fornames(data, column_name)
data |
a data frame |
column_name |
column names of the data frame |
column number, if success error, if failure
get_columnno_fornames(data.frame("Age" = c(21, 15),
"Name" = c("John", "Dora")), "Name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.