View source: R/DataUnderstanding.R
RenameVariable | R Documentation |
Renames a single variable in a data.frame
RenameVariable(InputDataFrame, ExistingVariableName, NewVariableName)
InputDataFrame |
data.frame. Input data.frame in which the column name of a **single** variable should be changed. |
ExistingVariableName |
character. Existing column name, which should be changed |
NewVariableName |
character. New column name. |
data.frame. Renamed - (!)complete - data.frame.
RenameVariable(InputDataFrame = iris, ExistingVariableName = "Sepal.Length", NewVariableName = "SepalLength")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.