[R] Problem with dist (bug?)
ct529 at york.ac.uk
Fri Oct 2 11:06:58 CEST 2009
using package "proxy".
In one situation, the dissimilarity between two vectors based on
method=correlation returns a value of 1.9. That should not happen, should it?
The correlation is normally the cos() of the angle between the two vectors
Package dist 0.4-3 on R 2.9.2 on Kubuntu 904 64 bit.
Global Climate Change & Biodiversity Indicators
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529 at york.ac.uk
More information about the R-help