Jiaxiang Li 2019-03-12
library(magrittr)
1:10 %>% `*`(5) %>% `+`(5)
## [1] 10 15 20 25 30 35 40 45 50 55
1:10 %>% multiply_by(5) %>% add(5)
## [1] 10 15 20 25 30 35 40 45 50 55
library(wrapr)
1:10 %.>% .^2
## [1] 1 4 9 16 25 36 49 64 81 100