[R] Is there a summary on different version of 'apply' functions? What is the meaning of the prefixes?

hadley wickham h.wickham at gmail.com
Wed Aug 12 03:44:52 CEST 2009


You might also want to have a look at the plyr package,
http://had.co.nz/plyr.  This package is an attempt to
standardise and make consistent the various common uses of apply and friends.

Hadley

On Tue, Aug 11, 2009 at 3:09 PM, Peng Yu<pengyu.ut at gmail.com> wrote:
> Hi,
>
> There are quiet a few different 'apply' functions, such as lapply,
> sapply and many more. I'm very familiar with the 'Apply' function in
> Mathematica. Can somebody point me a summary of all the 'apply'
> functions in R. Also, I'm curious that what 'l' and 's' (and other
> prefixes) stand for in 'lapply' and 'sapply'
>
> Regards,
> Peng
>
> ______________________________________________
> R-help at 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.
>



-- 
http://had.co.nz/




More information about the R-help mailing list