replace | R Documentation |
Replaces value to new value in specific column of a dataframe
replace(data, column, oldString, newString)
data |
A dataframe |
column |
A columnname as.character of the dataframe |
oldString |
Old value |
newString |
New value |
Replaced dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.