each {plyr} | R Documentation |
Combine multiple functions into a single function returning a named vector of outputs.
each(...)
... |
functions to combine. each function should produce a single number as output |
each(min, max)(1:10) each("min", "max")(1:10) each(c("min", "max"))(1:10) each(c(min, max))(1:10) each(length, mean, var)(rnorm(100))