Dear all,
    I'm having trouble using the 'apply' function to multiply some 
arrays. Let A be a 500x2 array and B a 500x3 array. I need a vector C 
which has 6 columns being the first three the result of A[,1] * B and 
the second three the result of A[,2] * B. What is the most efficient way 
to express that? I'm trying to use 'apply' with no success...
    Thanks for your help!

 
--                                                      --
Jose Luis Aznarte M.       http://decsai.ugr.es/~jlaznarte
Department of Computer Science and Artificial Intelligence
Universidad de Granada           Tel. +34 - 958 - 24 04 67
GRANADA (Spain)                  Fax: +34 - 958 - 24 00 79

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to