paDens: Density Per Unit Area

View source: R/paDens.R

paDensR Documentation

Density Per Unit Area

Description

Calculate the density of fish in number per unit area from the backscattering cross section, sigma_bs in m^2, and the area backscattering coefficient, s_a (unitless).

Usage

paDens(sigmabs, ABC, hectare = TRUE)

Arguments

sigmabs

A numeric vector, the backscattering cross section, sigma_bs in m^2.

ABC

A numeric vector, area backscattering coefficient, s_a (unitless), the same length as sigmabs.

hectare

A logical scalar, indicating if the density should be calculated as the number per hectare (the default, TRUE), or the number per m^2 (FALSE).

Details

For density in number per m^2, p_a = s_a / sigma_bs.

Value

A numeric vector of fish densities, p_a in number per unit area, the same length as sigmabs.

Examples

paDens(c(0.001, 0.01, 0.1), c(4e-5, 5e-6, 8e-9))


krphillips/EchoNet2Fish documentation built on March 19, 2022, 11:59 p.m.