Skip to content
Prev 246518 / 398503 Next

speed up in R apply

On Jan 5, 2011, at 10:03 AM, Young Cho wrote:

            
You should look at crossprod and tcrossprod.
Yes. For loops and *apply strategies are slower than the proper use of  
vectorized functions.