search for: vectorize2

Displaying 1 result from an estimated 1 matches for "vectorize2".

Did you mean: vectorizer
2001 Sep 23
1
more about outer
this is my current answer to my own question. should we have such a funcion in a more general version (i.e. with an arbitraty number of argument lists, for n-ary functions) in the core language? myouter<-function(x,y,fun){ t(sapply(x,function(arg1) sapply(y,function(arg2) fun(arg1,arg2)))) } -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list --