my question relates to the answer to the following question: How to sort vertices of a polygon in counter clockwise order?
I don't have a strong background in linear algebra... I don't understand this statement:
Then you can compute the angle of each vertex to the center point, and sort according to the computed angle
Is this a polar angle? What function could I use in R to compute this?