Calculates the surface area of a flat raster or matrix with the
same x, y bounds as the study surface.
Usage
flatsa(x)
Value
A numeric value representing the scaled surface
area of a flattened surface with the same x, y bounds.
Arguments
x
A raster or matrix.
Details
This function scales both x and y to between 0 and 1. This
is done because most satellite data have units where the x,
y units do not equal the z units and because the flat
surface area is usually compared to the actual surface area.
Surface area is calculated over the sample area (N-1, M-1).