MeanNASC: Mean NASC

Description Usage Arguments Details Value See Also Examples

View source: R/Acoustic.R

Description

The MeanNASC function aggregates input data of type NASCData horizontally into an output data set of PSU or Stratum resolution.

Usage

1

Arguments

parameterName

Parameter descrption.

Details

The MeanNASC function aggregates input data of type NASCData (LINK) horizontally into an output NASCData set of PSU or Stratum resolution. PSU resolution is equal to the horizontal calculation cell resolution used for density estimation in other functions.

The NASCData input source is given through the NASCData parameter. The aggregation variables PSU and Stratum may have values in the input data. If not, the optional parameter AcousticPSU is used to define the input data linking PSU and Stratum to EDSU and fill in values for PSU and Layer prior to aggregating. The aggregation is calculated as a weighted mean of NASC over PSU or Stratum by vertical record. Variable NASCWeight in the input data is used as the weighting variable. The NASCWeight variable is updated in the output data to represent the sum of NASCWeight over the horizontal aggregation interval. NASCWeight is the total log distance a record represents.

References:

MacLennan, D. N., Fernandes, P. G., and Dalen, J. 2002. A consistent approach to definitions and symbols in fisheries acoustics. ICES Journal of Marine Science, 59: 365_369.

Simmonds, J., and MacLennan, D. 2005. Fisheries Acoustics. Theory and Practice, Blackwell Science, Oxford. 437 pp.

Value

A data.table is returned with awesome stuff.

See Also

roxygenize is used to generate the documentation.

Examples

1
x <- 1

StoXProject/RstoxTempDoc documentation built on Dec. 31, 2019, 1:50 p.m.