StratumArea: Calculate area of each stratum

View source: R/Spatial.R

StratumAreaR Documentation

Calculate area of each stratum

Description

This function calculated the area of each stratum.

Usage

StratumArea(StratumPolygon, AreaMethod = c("Accurate", "Simple"))

Arguments

StratumPolygon

The StratumPolygon process data.

AreaMethod

The method to use for the area calculation, defaulted to "Accurate", which applied a Lambert azimuthal equal area projection.

Details

The area output is given in international square nautical miles.

The AreaMethod "Accurate" calculates each stratum are using the function st_area with the stratum transformed to Cartesian coordinates using the WGS84 Lambert Azimuthal Equal Area projection with origin at the centroid of the stratum as calculated from the geographical coordinates (longitude, latitude).

The AreaMethod "Simple" is used in StoX 2.7 and earlier versions and kept for backwards compatibility.

Value

An object of StoX data type StratumAreaData.

See Also

DefineStratumPolygon for the StratumPolygon input to the function.


StoXProject/RstoxBase documentation built on Nov. 6, 2024, noon