Description Usage Arguments Value Examples
Function to return the column number for a given column name (from list of possible column names that may have used) in a data frame
1 | get_colno_existing_colnames(column_names, data)
|
column_names |
column names in a data frame |
data |
a data frame |
the column number
1 2 | get_colno_existing_colnames(c("age"), data.frame(age = rep(20, 4),
gender = rep("male", 4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.