> 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
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.
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?
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
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