From J.C.Rougier@durham.ac.uk  Wed Jan 20 12:03:38 1999
From: J.C.Rougier@durham.ac.uk (Jonathan Rougier)
Date: Wed, 20 Jan 1999 12:03:38 +0000 (GMT)
Subject: dist function suggestion
In-Reply-To: <13989.50124.504879.10553@galadriel.ci.tuwien.ac.at>
Message-ID: <Pine.GSO.3.96.990120115916.29339J-100000@laplace>

On Wed, 20 Jan 1999, Friedrich Leisch wrote:

> dist is contained in the mva package which comes with (base) R. it
> provides `"euclidian"', `"maximum"', `"manhattan"', `"canberra"' and
> `"binary"' distances both in matrix and triangular form.

Thanks Fritz, but could I still make a general plea for a dist() that
takes one OR two matrices?  I often need to find dist(X, Y) as a
rectangular matrix (eg covariance calculations), and it is very
inefficient to use dist(rbind(X, Y))  and then discard most of it. 
Cheers, Jonathan. 

Jonathan Rougier                       Science Laboratories
Department of Mathematical Sciences    South Road
University of Durham                   Durham DH1 3LE

"[B]egin upon the precept ... that the things we see are to be 
 weighed in the scale with what we know"  (Meredith, 1879, The Egoist)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


dist function suggestion
Jonathan Rougier