Tests are also performed so that all column names will stay unique!

lownames(df)

Arguments

df

A data.frame, possibly with some names with capital letters

Value

df is returned unchanged, except that capital letters in names are changed to lower case.

Examples

df <- data.frame(Hello = 1:10, World = 1:10) lownames(df)
#> hello world #> 1 1 1 #> 2 2 2 #> 3 3 3 #> 4 4 4 #> 5 5 5 #> 6 6 6 #> 7 7 7 #> 8 8 8 #> 9 9 9 #> 10 10 10