seabed_area {CCAMLRGIS} | R Documentation |
Calculate planimetric seabed area
Description
Calculate planimetric seabed area within polygons and depth strata in square kilometers.
Usage
seabed_area(Bathy, Poly, PolyNames = NULL, depth_classes = c(-600, -1800))
Arguments
Bathy |
bathymetry raster with the appropriate |
Poly |
polygon(s) within which the areas of depth strata are computed. |
PolyNames |
character, column name (from the polygon object) to be used in the output. |
depth_classes |
numeric vector of strata depths. for example, |
Value
dataframe with the name of polygons in the first column and the area for each strata in the following columns.
See Also
load_Bathy
, SmallBathy
, create_Polys
, load_RBs
.
Examples
#create some polygons
MyPolys=create_Polys(PolyData,Densify=TRUE)
#compute the seabed areas
FishDepth=seabed_area(SmallBathy(),MyPolys,PolyNames="ID",
depth_classes=c(0,-200,-600,-1800,-3000,-5000))
#Result looks like this (note that the 600-1800 stratum is renamed 'Fishable_area')
#View(FishDepth)
[Package CCAMLRGIS version 4.1.1 Index]