[R] Is there a summary on different version of 'apply' functions? What is the meaning of the prefixes?
Patrick Burns
pburns at pburns.seanet.com
Wed Aug 12 10:19:56 CEST 2009
Hadley's answer is probably better,
but 'The R Inferno' page 15 is an
answer to the literal question.
Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of "The R Inferno" and "A Guide for the Unwilling S User")
hadley wickham wrote:
> 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.
>>
>
>
>
More information about the R-help
mailing list