Skip to content
Prev 310600 / 398506 Next

Multiplying elements of a list by rows of a matrix

Thank you all for your responses, the lapply works perfectly. The
example I gave IS odd. I only realized after I posted that tt had 5
rows and should have only had 3, so I apologize for that (I initially
had X to have 5 list elements).

Bert, I tend to use for loops in excess and often unnecessarily, so I
am trying to learn to code without the mental crutch that for loops
solve all problems.
Thanks again,
Tina
Message-ID: <CAEHuMtuKZ-z7-k0iAPQtRknPeoBKwagYkgYLHHYLEtjJmPBjfA@mail.gmail.com>
In-Reply-To: <1352728891.79523.YahooMailNeo@web142602.mail.bf1.yahoo.com>