Skip to content
Prev 310553 / 398525 Next

Multiplying elements of a list by rows of a matrix

Clemontina:

As you have seen, the answer is yes, but my question is why bother?
What's wrong with a for() loop?
lapply() should offer no advantage in speed over a loop. Vectorization
could, but lapply() is not vectorization.

-- Bert
On Sun, Nov 11, 2012 at 8:33 AM, Clemontina Davenport <ckalexa2 at ncsu.edu> wrote: