Description Usage Arguments Value Author(s) Examples
Replace column names in data.frame
1 | replaceColumnName(data.frame, old.names, new.names)
|
data.frame |
A data.frame |
old.names |
Old column names to be replaced |
new.names |
New column names |
Data.frame with column names updated
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 | clubs <- data.frame(Points=c(21,23,28,24), Name=c("BVB", "FCB", "HSV",
"FCK"), games=c(12,11,11,12))
replaceColumnName(clubs, c("Points", "games"), c("Punkte", "Spiele"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.