[EMAIL PROTECTED] <[EMAIL PROTECTED]> [Mon, Mar 31, 2008 at 07:02:25AM CEST]: > As far as I know there is no function called 'APPLY' > > There is one called 'apply', but why are you determined to use it here? > It is essentially concealed looping.
I always use apply instead of for when the steps can be performed independently and are parallelizable. By the same token as I use map instead of recursion in Lisp. R is essentially concealed Lisp, or so I'm told. -- Johannes Hüsing There is something fascinating about science. One gets such wholesale returns of conjecture mailto:[EMAIL PROTECTED] from such a trifling investment of fact. http://derwisch.wikidot.com (Mark Twain, "Life on the Mississippi") ______________________________________________ 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.