paDens: Density Per Unit Area

Description Usage Arguments Details Value Examples

View source: R/paDens.R

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

1
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

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

JVAdams/EchoNet2Fish documentation built on Feb. 15, 2021, 4:27 a.m.