poly.areas: Area of Each Polygon

Description Usage Arguments Value Author(s) Examples

View source: R/poly.counts.R

Description

Given a set of polygons, returns the area of each polygon.

Usage

1
poly.areas(polys)

Arguments

polys

A SpatialPolygons or SpatialPolygonsDataFrame object.

Value

A list of areas of the same length as the number of polygons in polys.

Author(s)

Chris Brunsdon

Examples

1
2
3
4
# Data for New Haven to use in example
data(newhaven)
# What is the area each census block?
poly.areas(blocks)

GISTools documentation built on May 6, 2019, 1:09 a.m.