Coordinate-wise Matrix Multiplication R -


is there way in r multiply 2 matrices or data frames such 2 matrices , b:

a[i,j] * b[i,j] = c[i,j]

i know can loop through columns , vector vector, wondering if possible through function?

* you're looking for.

element-wise multiplication default in r. perform matrix multiplication use %*%.


Comments