[R] dist(x,y)

ryszard.czerminski@pharma.novartis.com ryszard.czerminski at pharma.novartis.com
Tue Jan 6 19:07:41 CET 2004

Hi Erin,

CLARIFICATION: I am looking for function which can calculate distances 
rows in two different matrices (not in the same matrix as dist).
Of course I can get the desired result by using rbind() and fiddling with 
indices of the result, which I already did,
but I wonder if there is a function (or some variant of dist), which does 
it directly ?


Erin Hodgess <hodgess at gator.uhd.edu>
Sent by: r-help-bounces at stat.math.ethz.ch
01/06/2004 12:41 PM

        To:     r-help at stat.math.ethz.ch
        Subject:        [R] dist(x,y)

Hi Ryszard!

There is a dist function in R.
It's in the mva package.
You can set the kind of distance that you want.

mailto:hodgess at gator.uhd.edu

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list