R/get.R
get_index.Rd
This function returns the index of a variable
get_index(.data, .var)
data frame
variable on which index will be returned
get_index(mtcars, cyl) #> [1] 2