Learn R Programming

mizer (version 2.5.3)

calc_selectivity: 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)

Value

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

Arguments

params

A MizerParams object

Examples

Run this code
params <- NS_params
str(calc_selectivity(params))
calc_selectivity(params)["Pelagic", "Herring", ]

Run the code above in your browser using DataLab