| replacewhere | R Documentation |
Replace values in selected columns where a condition holds
replacewhere(data, condition, cols, value)
data |
A data.frame. |
condition |
A logical expression evaluated in the context of |
cols |
Character vector of column names. |
value |
Value to test, assign, or match against. |
data with matching values replaced.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.