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

Emmanuel Levy emmanuel.levy at gmail.com
Thu Apr 5 15:05:29 CEST 2007


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,

Best,

Emmanuel



More information about the R-help mailing list