Description Usage Examples
View source: R/pipe_functions.R
This function executes a function upon an object if condition are met.
1
exec_if(x, cond, .f)
1 2
x %>% exec_if(TRUE, ~mutate(.x, foo="bar"))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.