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
str(calc_selectivity(params))
calc_selectivity(params)["Pelagic", "Herring", ]

mizer documentation built on Oct. 17, 2024, 9:07 a.m.