I have a number of locations (latitudes and longitudes) in my data. If each location is a member of ellipse, I want to find the centre (in cartesian coordinates) of the ellipse. The data looks like:
longitude latitude
location 1 -118.8267 33.73430
location 2 -115.9665 33.25514
location 3 -117.2978 34.18589
location 4 -117.2962. 34.18449
location 5 -117.1625 34.00642
Please note that I do not have any information regarding the major axis length and minor axis length of the ellipses.
I want to know, is there any way in R programming language by which I can find the cartesian coordinates of the centre of the ellipses the locations belong to? And how to find the major and minor axis lengths as well?
Geo
**EDIT**:
In my question, each location will be a member of a "different" ellipse. Now, an ellipse consists of at least 3 points. In my analysis,I will first classify the locations into several different groups according to some model criteria. Then there will be several different "ellipses". Each location point will be a member of one of these classified ellipse.