[R] Convex hull line coordinates..

achilleas.psomas@wsl.ch achilleas.psomas at wsl.ch
Mon Mar 21 11:09:46 CET 2005


Hello R-Helpers..

I am still new in R and I have the following question..
I am applying the function chull on a 2D dataset and have the convex hull
nicely
calculated and plotted.
Do you know if there is a way to extract the coordinates of the line created
from the connection of the chull data points..
I have alredy tried with "approx" to lineary interpolate but its not working
correctly since the interpolated values sometimes fall inside the convex .
Using the "yleft" or "yright" doesnt seem to help..

Any suggestions?
Thank you in advance

Achilleas Psomas




More information about the R-help mailing list