calc_selectivity: Calculate selectivity from gear parameters

View source: R/setFishing.R

calc_selectivityR Documentation

Calculate selectivity from gear parameters

Description

This function calculates the selectivity for each gear, species and size from the gear parameters. It is called by setFishing() when the selectivity is not set by the user.

Usage

calc_selectivity(params)

Arguments

params

A MizerParams object

Value

An array (gear x species x size) with the selectivity values

Examples

params <- NS_params
calc_selectivity(params)["Pelagic", "Herring", ]

sizespectrum/mizer documentation built on April 14, 2024, 3:08 a.m.