getArea.RasterLayer {redlistr} | R Documentation |
Calculates the Area of a Raster from RasterLayer.
Description
getArea
reports the area of a RasterLayer object using the pixel
counting method.
Usage
## S3 method for class 'RasterLayer'
getArea(x, value.to.count, ...)
Arguments
x |
Either a RasterLayer object. No data value should be NA |
value.to.count |
Optional. Value of the cells in a RasterLayer to be counted |
... |
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.SpatRaster()
,
getArea.SpatVect()
,
getArea.SpatialPolygons()
,
getArea.sf()
,
getAreaLoss()
,
getArea()
,
getDeclineStats()
[Package redlistr version 1.0.4 Index]