View source: R/change_functions.R
getArea.SpatRaster | R Documentation |
getArea
reports the area of a SpatRaster object using terra::expanse
## S3 method for class 'SpatRaster'
getArea(x, byValue, ...)
x |
SpatRaster |
byValue |
Logical. If TRUE, the area for each unique cell value is returned. |
... |
Addition arguments based on input format |
The total area of the cells of interest in km2
Nicholas Murray murr.nick@gmail.com, Calvin Lee calvinkflee@gmail.com
Other Change functions:
getArea.RasterLayer()
,
getArea.SpatVect()
,
getArea.SpatialPolygons()
,
getArea.sf()
,
getAreaLoss()
,
getArea()
,
getDeclineStats()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.