R/foo.R
name.Rd
Enhancement of names()
name(data)
a dataframe
a list
df <- data.frame(a = NA, b = NA, c = NA) name(df)#> [[1]] #> [1] "a" "b" "c" #> #> [[2]] #> [1] "'a','b','c'" #> #> [[3]] #> 1 2 3 #> 1 a b c #>