Re: [R] Measuring Goodness of a Matrix

From: Marc Schwartz <>
Date: Tue, 24 Jun 2008 10:06:56 -0500

on 06/24/2008 09:41 AM Gundala Viswanath wrote:
> Hi all,
> Suppose I have 2 matrices A and B.
> And I want to measure how good each of this matrix is.
> So I intend to compare A and B with another "gold standard"
> matrix X. Meaning the more similar a matrix to X the better it is.
> What is the common way in R to
> measure matrix similarity (ie. A vs X, and B vs X) ?

If I am correctly interpreting what you are looking for see ?dist and perhaps ?hclust.

RSiteSearch("matrix similarity") may also prove to be useful.

HTH, Marc Schwartz mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 24 Jun 2008 - 15:13:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 24 Jun 2008 - 15:30:58 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive