[R] Multi matrix row-wise mapply?

Андрей Парамонов cmr.pent at gmail.com
Tue Oct 21 18:57:37 CEST 2008


Thanks for the replies!

> sapply(1:nrow(A), function(i) f(A[i,],B[i,]) )
>

Actually, this solution is even slower than the explicit for-loop :-(

Andrey



More information about the R-help mailing list