getArea.SpatRaster {redlistr} | R Documentation |
Calculates the Area of a Raster from SpatRaster.
Description
getArea
reports the area of a SpatRaster object using terra::expanse
Usage
## S3 method for class 'SpatRaster'
getArea(x, byValue, ...)
Arguments
x |
SpatRaster |
byValue |
Logical. If TRUE, the area for each unique cell value is returned. |
... |
Addition arguments based on input format |
Value
The total area of the cells of interest in km2
Author(s)
Nicholas Murray murr.nick@gmail.com, Calvin Lee calvinkflee@gmail.com
See Also
Other Change functions:
getArea.RasterLayer()
,
getArea.SpatVect()
,
getArea.SpatialPolygons()
,
getArea.sf()
,
getAreaLoss()
,
getArea()
,
getDeclineStats()
[Package redlistr version 1.0.4 Index]