calc_M2_c: Calculates predation mortality, M2 (C++)

Description Usage Arguments Value References See Also

View source: R/RcppExports.R

Description

Calculates the predation mortality for each species in each size class

Usage

1
2
calc_M2_c(nSize, nSpecies, N, scLinf, ration, wgt, suitability, phiMin,
  otherFood)

Arguments

nSize

Number of size class intervals species can grow through

nSpecies

Number of species in the model

N

A matrix (nSize x nSpecies) of abundance (number of individuals)

scLinf

A vector (nSpecies) of the size class at which each species reaches L_inf (maximum length)

ration

A matrix (nSize x nSpecies) of (growth in time interval)/growth efficiency values. See calc_ration

wgt

A matrix (nSize x nSpecies) of species weight at the mid point of each size class (Units: grams). See calc_ration

suitability

3D array of predator size preference for prey size. See calc_sizepref_suitability

phiMin

Scalar. Model timestep (years). See calc_phi

otherFood

Scalar. Amount of other food available not accounted for in the model (g)

Value

A matrix is returned

M2

A matrix (nSize x nSpecies) of M2 (predation mortality) values. Note: M2 = 0 for size classes in which a species is not preyed upon.

References

Hall et al. (2006). A length-based multispecies model for evaluating community responses to fishing. Can. J. Fish. Aquat. Sci. 63:1344-1359.

Rochet et al. (2011). Does selective fishing conserve community biodiversity? Prediction from a length-based multispecies model. Can. J. Fish. Aquat. Sci. 68:469-486 alc_

See Also

calc_sizepref_suitability, calc_ration calc_phi


NOAA-EDAB/LeMANS documentation built on Feb. 7, 2021, 11:01 p.m.