A*B David L. Reiner
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:r-help- > [EMAIL PROTECTED] On Behalf Of Gates, Michael BGI SF > Sent: Wednesday, November 09, 2005 1:26 PM > To: [email protected] > Subject: [R] Element-by-element multiplication operator? > > Is there an element-by-element multiplication in R, like the .* operator > in Matlab? > > eg: A (2x3) > B (2x3) > C=A.*B > C (2x3) > C = [[a11*b11 a12*b12 a13*b13]; [a21*b21 a22*b22 a23*b23]] > > I can't find one... > > Thanks > > -Mike Gates > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting- > guide.html ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
