Description Arguments Examples
Use the pipe function, %>%
to turn
function composition into a series of imperative statements.
Use the double pipe function, %<>%
to turn function composition into
a series of imperative statements.
Use the .data when writing functions that use piping with dplyr to avoid lazy eval issues and get informative error messages
lhs, rhs |
Pipe the output of |
lhs, rhs |
Pipe the output of |
1 2 3 4 | 1 %>% `+`(1)
a = 1
a %<>% `+`(1)
a
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.