Re: [R] centroid of radial.plot differs from centroid.polygon

2008-08-21 Thread Stefan Uhmann
Jim Lemon schrieb: On Wed, 2008-08-20 at 13:36 +0200, Stefan Uhmann wrote: Dear R-Helpers, I need the centroid of circular data and (because the function used does not provide the centroid coordinates, or did I miss sth.?) tried it via the indirect way and just computed the cartesian coordina

[R] centroid of radial.plot differs from centroid.polygon

2008-08-20 Thread Stefan Uhmann
Dear R-Helpers, I need the centroid of circular data and (because the function used does not provide the centroid coordinates, or did I miss sth.?) tried it via the indirect way and just computed the cartesian coordinates: >>> library(plotrix) library(maps) #generate data data1<-matrix(c(1.8