Den wrote:

> 'Aggregate multiple functions into a single function. Combine multiple
> functions to a single function returning a named vector of outputs'
> 
> This is a short description of each() function from plyr package
> 
> Here is an example from help
> 
> each(min, max)(1:10)

Thanks! I really should have known about this, as I use the ‘plyr’ package 
daily. It doesn’t handle multiple objects though, AFAICS, so hopefully the 
function Vettorazzi and I created is of some use too. :)

-- 
Karl Ove Hufthammer

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to