[R] Matrix multiplication ...

John Janmaat john.janmaat at acadiau.ca
Thu Nov 1 18:00:25 CET 2001

I know that %*% is used for matrix multiplication.  However, if I
multiply t(Y) %*% Y, where Y is an n by 1 vector, then the product is a
scalar.  However, if I
multiply this scalar by a matrix, I get a non-conformability error.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list