Skip to content
Prev 49132 / 398498 Next

Lists and outer() like functionality?

David Orme <d.orme at imperial.ac.uk> writes:
How about
[,1] [,2] [,3]
[1,]   15   12    0
[2,]   12   42   17
[3,]    0   17   50


(notice that your problem really isn't that you have a list, but that
you have functions that don't vectorize over lists.)