computeHarvest-FLStock-missing-method: Computes fishing mortality from abundances, catches and...

computeHarvest,FLStock,missing-methodR Documentation

Computes fishing mortality from abundances, catches and natural mortality

Description

Objects or class 'FLStock' already contain a 'harvest' slot to store estimates of fishing mortality at age, for example those obtained from a stock assessment method. Fishing mortality at age can be recalculated using two methods:

Usage

## S4 method for signature 'FLStock,missing'
computeHarvest(object, units = NULL)

Arguments

units

Harvest to be computed as 'f' or 'hr', 'character'.

x

An object of class 'FLStock'.

Value

An 'FLQuant' with the calculated fishing mortalities at age.

Author(s)

The FLR Team

See Also

FLStock harvest() FLQuant

Examples

data(ple4)
# Compute 'f' from stock.n and Baranov
computeHarvest(ple4)
# Recomputes all F at age by solving catch Baranov
recomputeHarvest(ple4)

flr/FLCore documentation built on May 4, 2024, midnight