lownames: Make all names in data.frame lower case

Description Usage Arguments Value Examples

View source: R/lownames.R

Description

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

Usage

1

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

1
2
df <- data.frame(Hello = 1:10, World = 1:10)
lownames(df)

Example output

   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

rccmisc documentation built on May 2, 2019, 2:48 p.m.