[datatable-help] multiply columns in two vectors

Ingeborg Callesen ica at ign.ku.dk
Wed Mar 11 10:20:29 CET 2015


Dear r-helpers out there

Is there a function or a code string for multiplying the numbers in e.g. a n x m vector by another n x m vector ? The result should be a n x m vector with the product of the two numbers in each vector on the same position in the new vector.

Thanks for any help in advance.

BR Ingeborg Callesen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20150311/f0fd3013/attachment.html>


More information about the datatable-help mailing list