[R] outer problem
thomas at biostat.washington.edu
Tue Jun 20 19:57:26 CEST 2000
On Tue, 20 Jun 2000, Erich Neuwirth wrote:
> thank you,
> i also looked into the definition of outer and now i understand what is
> but now i have some more questions
> on how to vectoruce functions.
> lapply and sapply essentially allow to vectorise a fucntion with one
> but is there a way of vectorizing a 2 argument function such that
> the 2 arguments lists are "run through" sybchronously?
Not at the moment. We have talked about adding another apply function to
do this (eg papply) but haven't got around to it. The way it would work is
papply(X,Y,FUN), where X and Y are of length n, would basically do
but preferably implemented internally for speed.
Assistant Professor, Biostatistics
University of Washington, Seattle
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help