[R] Convex hull line coordinates..

2005-03-21 Thread achilleas . psomas
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

Re: [R] Convex hull line coordinates..

2005-03-21 Thread Romain Francois
Hello, 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 Romain. Le 21.03.2005 11:09, [EMAIL PROTECTED] a écrit : Hello R-Helpers.. I am still new in R and I have the following question.. I am applying the

Re: [R] Convex hull line coordinates..

2005-03-21 Thread Clint Bowman
?chull states: Value: An integer vector giving the indices of the points lying on the convex hull, in clockwise order. therefore (see Example in ?chull) you have the end points of each line segment from which you can compute the equation of each line segment. Since the precision

Re: [R] Convex hull line coordinates..

2005-03-21 Thread Barry Rowlingson
Romain Francois wrote: Hello, 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 Or see a basic geometry book, where you will find a formula such as: (x-x1)/(y-y1) = (x2-x1)/(y2-y1) for the equation of a line

Re: [R] Convex hull line coordinates..

2005-03-21 Thread Gabor Grothendieck
achilleas.psomas at wsl.ch writes: : : 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