[R] Question on outer(x, y, FUN,...)

Roger D. Peng rpeng at jhsph.edu
Fri Apr 23 01:04:16 CEST 2004

Your function is probably not vectorized.  See the R FAQ question 


Yao, Minghua wrote:
> Dear R gurus,
> When I used outer(x, y, FUN, ...), I got error message when there was matrix multiplications with x or y in FUN. FUN worked fine when x and y were applied to it in FUN(x, y, ...). Is this a bug for outer( )?
> -MY
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list