poly.labels: Number of Points in Each Polygon

View source: R/jitter.R

Polygon Label PointsR Documentation

Number of Points in Each Polygon

Description

Given a set of polygons, returns the label point for each polygon in a SpatialPoints or a sf POINT object.

Usage

poly.labels(polys)

Arguments

polys

A SpatialPolygons or SpatialPolygonsDataFrame or sf -POLYGON or - MULTIPOLYGON object.

Value

SpatialPoints or sf POINT object containing the label point for each polygon, respectively.

Author(s)

Chris Brunsdon, Binbin Lu


GISTools documentation built on Oct. 3, 2024, 1:08 a.m.