Skip to content

center of gravity

1 message · Roger Bivand

#
On Fri, 31 Aug 2007, Rick Reeves wrote:

            
I agree, but am not sure that the question is about centroids. It might be 
the "centre" of a point pattern, where the highest density location(s) 
would not often be the centroid of the convex hull. If the data are 
SpatialPolygons read using readShapePoly() or readOGR(), the coordnates() 
method for the imported object returns a matrix of label points, which are 
the centroids of the largest member Polygon object of each Polygons 
object, so they can be retrieved without any more trouble, but I'm not 
sure that the points needed are area weighted.

Roger