Description Usage Arguments Examples
View source: R/underscoreReplacements.R
Rename a column
1 | replyr_rename(.data, ..., newName, oldName)
|
.data |
data object to work on |
... |
force later arguments to bind by name |
newName |
character new column name |
oldName |
character old column name |
1 2 3 4 | d <- data.frame(Sepal_Length= c(5.8,5.7),
Sepal_Width= c(4.0,4.4),
Species= 'setosa', rank=c(1,2))
replyr_rename(d, newName = 'family', oldName = 'Species')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.