Raw Message
Message-ID: <139940.18844.qm@web58102.mail.re3.yahoo.com> Date: 2008-09-21T17:47:47Z From: Megh Dal Subject: Symmetric matrix I have following matrix : a = matrix(rnorm(36), 6) Now I want to replace the lower-triangular elements with it's upper-triangular elements. That is I want to make a symmetric matrix from a. I have tried with lower.tri() and upper.tri() function, but got desired result. Can anyone please tell me how to do that?