R/get.R
get_varname.Rd
This function returns the name of a variable by its index
get_varname(.data, .index)
data frame
index of a variable
get_varname(mtcars, 2) #> [1] "cyl"