Area of objects in package sampSurf

Description

A number of the different classes of objects in sampSurf have some kind of areal representation, often just part of the class definition as one of the slots. This function simply returns the area as stored within the object as given in area-methods.

Details

The area that is stored and returned is in the native units of the object. In most cases, this will be either square feet or square meters. The area-methods provide individual detail, as do the individual class definitions for the objects passed.

Value

Area in the correct units.

Author(s)

Jeffrey H. Gove

See Also

area-methods

Examples

1
2
tract = Tract(c(x=20,y=35),cellSize=0.25, units='metric')
area(tract)/.StemEnv$smpHectare  #in hectares

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.