Skip to content
Prev 10689 / 398502 Next

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