Old pseudonym for mutate_rows. Originally the function mutate_rows was called mutate_if, however, dplyr 5.0 introduced also a function called mutate_if that does something different however. I keep the synonym mutate_if in order to reduce the probability that old code breaks, but it is recommended to use mutate_rows instead.#'
1 |
.data |
the data |
.if |
a logical condition that selects rows, e.g. a=="B" |
... |
the command to mutate existing columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.