get_age_proportions_by_fleet: Calculates the age proportions by year and returns a list...

View source: R/utils-get-age-proportions-by-fleet.R

get_age_proportions_by_fleetR Documentation

Calculates the age proportions by year and returns a list with one data frame for each fishery type (Freezer trawlers, Shoreside, and Joint venture)

Description

Calculates the age proportions by year and returns a list with one data frame for each fishery type (Freezer trawlers, Shoreside, and Joint venture)

Usage

get_age_proportions_by_fleet(d, raw_proportions = F)

Arguments

d

A data frame as returned by gfdata::get_commercial_samples()

raw_proportions

Logical. If TRUE, return raw, unweighted age proportions. If FALSE, return the age proportions weighted by sample and catch weights

Value

A list of three data frames of age proportions by year


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.