seabed_area: Calculate planimetric seabed area

seabed_areaR 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 projection. It is highly recommended to use a raster of higher resolution than SmallBathy, see load_Bathy.

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, depth_classes=c(-600,-1000,-2000). If the values -600,-1800 are given within depth_classes, the computed area will be labelled as 'Fishable_area'.

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)





CCAMLRGIS documentation built on Sept. 27, 2023, 9:09 a.m.