where | R Documentation |
This function is used inside recode_shadow
to help evaluate the formula
call effectively. .where
is a special function designed for use in
recode_shadow
, and you shouldn't use it outside of it
.where(...)
... |
case_when style formula |
a list of "condition" and "suffix" arguments
## Not run: df <- tibble::tribble( ~wind, ~temp, -99, 45, 68, NA, 72, 25 ) dfs <- bind_shadow(df) recode_shadow(dfs, temp = .where(wind == -99 ~ "bananas")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.