I hve two matrices . One of the matrix is 3x1 and another one is 3x3 matrix. How could I multiply them in R ?
Asked
Active
Viewed 489 times
-2
-
2`A %*% B` see `?'%*%'` – G5W May 03 '18 at 00:19
-
1Going to add this link for future searchers: how to use `%*%` - https://stackoverflow.com/questions/22865094/what-does-mean-in-r – Amar May 03 '18 at 00:22
-
3Umm... you can't multiply a 3x1 matrix by 3x3 matrix? Try 1x3 matrix by 3x3 matrix. – Tony Hellmuth May 03 '18 at 00:25