Helper function: rename values
1 | renameValues(df, colName, oldVal, newVal)
|
df |
data.frame to be modified |
colName |
olName containing the values to be changed |
oldVal |
old value |
newVal |
new value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.