Description Usage Arguments Value Note Author(s) Examples
Rename a column of a data.frame
1 | ecr.rename(df, colname, newname)
|
df |
- data.frame |
colname |
- STRING - the column/variable name |
newname |
- STRING - the new column/variable name |
A data.frame with the column renamed
Memory consumption?
jp.decorps@epiconcept.fr
1 2 3 | # == Dataframe is loaded with data()
data(iris);
iris <- ecr.rename(iris, 'Sepal.Length','SL');
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.