[R] Multiplication usijg apply

arunkumar1111 akpbond007 at gmail.com
Tue Feb 21 04:41:19 CET 2012


Hi

my data

looks like 

X=(3,5,6,7)    B= 1 2 3 4       and C=( 1 2 3 4)
                              2 3 4 5
                              4 5 6 7
                              8 9 1 2


I want my results to be 

XB + C.

Please help me use apply in this function

-----
Thanks in Advance
        Arun
--
View this message in context: http://r.789695.n4.nabble.com/Multiplication-usijg-apply-tp4405903p4405903.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list