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

Bert Gunter gunter.berton at gene.com
Tue Aug 11 22:35:34 CEST 2009


?help.search

help.search("apply")

Problem is, various packages have added their own apply-type functions; so
what you get depends on what packages you have downloaded.

Bert Gunter
Genentech Nonclinical Biostatisics

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Peng Yu
Sent: Tuesday, August 11, 2009 1:09 PM
To: r-help at stat.math.ethz.ch
Subject: [R] Is there a summary on different version of 'apply'
functions?What is the meaning of the prefixes?

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