Skip to content
Back to formatted view

Raw Message

Message-ID: <3AD3735F.F5BD9D5B@virginia.edu>
Date: 2001-04-10T20:55:59Z
From: Frank E Harrell Jr
Subject: Similarity matrix

I frequently use hclust on a similarity matrix.  In R only a
distance matrix is allowed.  Is there a simple reliable
transformation of a similarity matrix that will result
in a distance matrix making hclust work the same as
S-Plus with a similarity matrix?  Venables & Ripley 3rd
edition implies that a simple reversal of values
will suffice.  Thanks -Frank
-- 
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._