# %<>%

0th

Percentile

##### magrittr compound assignment pipe-operator

Pipe an object forward into a function or call expression and update the lhs object with the resulting value.

##### Usage
lhs %<>% rhs
##### Arguments
lhs

An object which serves both as the initial value and as target.

rhs

a function call using the magrittr semantics.

##### Details

The compound assignment pipe-operator, %<>%, is used to update a value by first piping it into one or more rhs expressions, and then assigning the result. For example, some_object %<>% foo %>% bar is equivalent to some_object <- some_object %>% foo %>% bar. It must be the first pipe-operator in a chain, but otherwise it works like %>%.