Description Usage Arguments Value Author(s)
This function is needed when there is an obvious colname error/mispell with some observations. This observation does not have a variable name like most other observations, but has an abnormal one that can be confirmed to be the same as another variable.
1 | renameOneCol(df, old, new)
|
df |
a data.frame |
old |
a character vector of old name |
new |
a character vector of new name |
a data.frame
Siyu Sun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.