| %>% | R Documentation |
Re-exported from the magrittr package. %>% pipes the left-hand side
into the first argument (or the . placeholder) of the right-hand side;
%<>% does the same but assigns the result back to the left-hand side.
lhs %>% rhs
lhs %<>% rhs
lhs |
A value to pipe into the right-hand side expression. |
rhs |
A function call using the magrittr semantics; the value of |
The result of calling rhs with lhs inserted, as documented in
magrittr::%>%(). %<>% returns that result invisibly after assigning it
back to lhs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.