discardsRatio: Compute the ratio of discards to total catch in numbers or...

View source: R/FLStock.R

discardsRatioR Documentation

Compute the ratio of discards to total catch in numbers or weight

Description

A calculation is made of the proportion of discards over total catch at age, either as numbers (value = 'numbers') or weight (value = 'weight'), or for the total discards and catch in biomass (value = 'total').

Usage

discardsRatio(object, value = c("numbers", "weight", "total"))

Arguments

object

An object of class 'FLStock'

value

One of 'numbers' (default), 'weight' or 'total'.

Value

The discards ratio (between 0 and 1), 'FLQuant'

Author(s)

The FLR Team

See Also

FLStock

Examples

data(ple4)
# Discards ratio at age in numbers
discardsRatio(ple4)
# Total proportion of discards by year
discardsRatio(ple4, value="total")

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