extracting the variance from a covariance matrix
On Fri, 2010-10-22 at 12:31 -0200, Marcelo Lima wrote:
Hi, I generated a covariance matrix, since the diagonal of this matrix represents the variance of my dataset I would like to extract it. Any suggestions on how to obtain? Thanks, Marcelo ___________
You can use the "diag" function to extract the diagonal.