[R] apply on two lists?

Peng Yu pengyu.ut at gmail.com
Tue Dec 1 05:07:56 CET 2009


I need to apply some function on two lists. I have to use the index to
do as shown above. But I feel more natural to refer to the lists
without using the index (using the syntax of something like,
lapply(x,y, function(i,j){....})). I'm wondering if there is such a
thing in R? Or there are some other ways better than the example at
the very beginning?

More information about the R-help mailing list