Skip to contents

Calculates the area of each polygon in sp::SpatialPolygonsDataFrame.

Usage

areaPoly(sp.object = NULL)

Arguments

sp.object

SpatialPolygonsDataFrame, must be a SpatialPolygonsDataFrame object

Value

a numeric vector

Note

Copied from the UScensus2010 package

References

Zack W. Almquist (2010). US Census Spatial and Demographic Data in R: The UScensus2000 Suite of Packages. Journal of Statistical Software, 37(6), 1-31. https://www.jstatsoft.org/v37/i06/.

See also

https://rdrr.io/cran/UScensus2010/man/areaPoly.html

Author

Zack W. Almquist