mutate_cond | R Documentation |
Mutate at condition. useful in dplyr pipes. From StackOverflow https://stackoverflow.com/a/34096575/3933405
mutate_cond(.data, condition, ..., envir = parent.frame())
.data |
Data passed in |
condition |
Condition whether to peform mutate |
... |
mutate to happen |
envir |
environment to cary through. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.