Replace a value within a dataframe.
1 |
df |
datafarme. The dataframe to replace within. |
col |
character. The name of the column to replace within. |
expr |
expression. An expression of the values in the column to replace. |
value |
object. The value positions where the expression is true become. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.