Description Usage Arguments Value See Also
Wrangle only columns that pass a logical test
1 | mutate_if_data(.data, .predicate, .f)
|
.data |
Input data frame |
.predicate |
Function applied to each column evaluating to a logical |
.f |
Function applied to each .predicate-passing column. Can be written
in the formula |
Data frame with .predicate-passing columns mutated.
Other mutate: mutate_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.