View source: R/change_functions.R
| getArea.RasterLayer | R Documentation |
getArea reports the area of a RasterLayer object using the pixel
counting method.
## S3 method for class 'RasterLayer'
getArea(x, value.to.count, ...)
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 |
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.SpatRaster(),
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.