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

View source: R/change_functions.R

getArea.RasterLayerR 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()


red-list-ecosystem/redlistr documentation built on Oct. 13, 2023, 1:31 a.m.