On 12/10/11 08:31, Timothy Bates wrote:
To do matrix multiplication: m x n, the Rows and columns of m must be equal to the columns and rows of n, respectively.
No. The number of columns of m must equal the number of rows of n, that's all. The number of *rows* of m and the number of *columns* of n can be anything you like. cheers, Rolf Turner ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.