[R] Convex hull line coordinates..

Romain Francois francoisromain at free.fr
Mon Mar 21 18:03:26 CET 2005


I'm not sure i got your question right, but i think the whole point is 
to find the equation of a line which passes by two points
See ?lm


Le 21.03.2005 11:09, achilleas.psomas at wsl.ch a écrit :

>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
>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
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Romain FRANCOIS : francoisromain at free.fr
page web : http://addictedtor.free.fr/  (en construction)
06 18 39 14 69 / 01 46 80 65 60
Etudiant en 3eme année
Institut de Statistique de l'Université de Paris (ISUP)
Filière Industrie et Services

More information about the R-help mailing list