The centroid Mean function returns a SpatialPointDataframe containing the Centroid mean of Points within ESRI Shapefile(s).
1 | centroidMean(spat, pnt, count = T)
|
spat |
SpatialPolygonDataFrame; A file containing one or more Spatial Polygons |
pnt |
SpatialPointDataFrame; A file containing the Point cloud. |
count |
boolean; If T, count the number of points within one Polygon. OPTIONAL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.