Re: [R-sig-Geo] calculate geometric mean of mass of points

2008-11-19 Thread G. Allegri
> The maptools package has a function for computing the centroids of > polygons - install that and try help.search("centroid"). x <- read.shape(system.file("shapes/sids.shp", package="maptools") mycentroid <- get.Pcent(x) ___ R-sig-Geo mailing list R-s

Re: [R-sig-Geo] calculate geometric mean of mass of points

2008-11-19 Thread Barry Rowlingson
2008/11/19 Dylan Beaudette <[EMAIL PROTECTED]>: > On Wednesday 19 November 2008, Ashton Shortridge wrote: >> On Wednesday 19 November 2008 02:33:46 pm Alessandro wrote: >> > I have a points shape and I wish to calculate the geometric centre of >> > this points shape and create a new points with R.

Re: [R-sig-Geo] calculate geometric mean of mass of points

2008-11-19 Thread Dylan Beaudette
On Wednesday 19 November 2008, Ashton Shortridge wrote: > On Wednesday 19 November 2008 02:33:46 pm Alessandro wrote: > > I have a points shape and I wish to calculate the geometric centre of > > this points shape and create a new points with R. But It's over my > > knowledge. Is there suggestions?

Re: [R-sig-Geo] calculate geometric mean of mass of points

2008-11-19 Thread Ashton Shortridge
On Wednesday 19 November 2008 02:33:46 pm Alessandro wrote: > I have a points shape and I wish to calculate the geometric centre of this > points shape and create a new points with R. But It's over my knowledge. Is > there suggestions? This seems straightforward, even if it is not implemented in a

[R-sig-Geo] calculate geometric mean of mass of points

2008-11-19 Thread Alessandro
Hi all, I have a points shape and I wish to calculate the geometric centre of this points shape and create a new points with R. But It's over my knowledge. Is there suggestions? Thanks Ale [[alternative HTML version deleted]] ___ R