Learn R Programming

redlistr (version 1.0.4)

getArea.SpatialPolygons: Calculates the Area of a Raster from SpatialPolygons.

Description

getArea reports the area of a SpatialPolygons object using sf::st_area

Usage

# S3 method for SpatialPolygons
getArea(x, ...)

Value

The total area of the cells of interest in km2

Arguments

x

A SpatialPolygons object.

...

Addition arguments based on input format

Author

Nicholas Murray murr.nick@gmail.com, Calvin Lee calvinkflee@gmail.com

See Also

Other Change functions: getArea.RasterLayer(), getArea.SpatRaster(), getArea.SpatVect(), getArea.sf(), getAreaLoss(), getArea(), getDeclineStats()