[R] Transform distance constraints into a 2D-map

From: Emmanuel Levy <emmanuel.levy_at_gmail.com>
Date: Thu 05 Apr 2007 - 13:05:29 GMT

Dear all,

Could you please point me out to a function or set of functions that would allow me to
optimize positions on the 2D map of points for which I are distance contrainted?

for example, if I have:

    a b c

a 0.0 0.5 0.7
b 0.5 0.0 0.3
c 0.7 0.3 0.0

I would like to obtain (x,y) coordinates to plot A,B,C so that the distance constraints are satisfied. i.e. a is 0.5 far from b, and o.7 far from c. etc ...

Many thanks for your help,



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Apr 05 23:08:09 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 05 Apr 2007 - 16:30:48 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.