Closed renkun-ken closed 10 years ago
Composing functions should be allowed.
logdiff <- log %>% diff lgplot <- log %>% diff %>% plot(col="red") lgplot2 <- (function(x) x^2) %>% log %>% diff %>>% plot(.,col="red")
No need to compose functions in this way, just use a function definition to store a common piping procedure.
procedure1 <- function(data) { data %>% log %>% diff %>% plot(col="red") }
Composing functions should be allowed.