Learn R Programming

aLBI (version 0.1.9)

FishSS: Assess Stock Status and Classify Fish selectivity

Description

This function assesses stock status and classifies fish selectivity based on the provided parameters.

Usage

FishSS(data, LM_ratio, Pmat, Popt, Pmega)

Value

A list containing the selected columns, the target value, the closest value index, the calculated stock status, and the fish classification.

Arguments

data

A data frame containing the necessary columns for stock status calculation from Cope & Punt (2009)

LM_ratio

A numeric value representing the length at maturity ratio.

Pmat

A numeric value representing the percentage of mature fish.

Popt

A numeric value representing the percentage of optimally sized fish.

Pmega

A numeric value representing the percentage megaspawner.

Examples

Run this code
utils::data("CPdata", package = "aLBI")
FishSS(CPdata, 0.75, 100, 30, 25)

Run the code above in your browser using DataLab