calc_mean_age: Calculate mean age in the population

View source: R/utils-calc-mean-age.R

calc_mean_ageR Documentation

Calculate mean age in the population

Description

Calculate mean age in the population

Usage

calc_mean_age(agemat = NULL, maxage = NULL)

Arguments

agemat

matrix of ages

maxage

maximum age to include in the calculation

Value

A vector of the mean ages by year, with names attribute as year names (character)


pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.