mohnrho: Generate parameterised g3a_initial_abund

View source: R/mohnrho.R

mohnrhoR Documentation

Generate parameterised g3a_initial_abund

Description

Generate parameterised g3a_initial_abund

Usage

mohnrho(
  fit,
  retrofit,
  vars = c("total.biomass", "F", "recruitment"),
  lag = c(0, 1, 1),
  aggregate_biomass = TRUE
)

Arguments

fit

A g3_fit object

retrofit

A list of g3_fit objects that differ in their terminal year, i.e. the result of a retrospective analysis

vars

Which variables would you like to calculate Mohn's Rho for? They must be columns in fit$res.by.year

lag

vector of lags for each variable in terms of years

aggregate_biomass

calculate rho for biomass over stocks? Only works if 'total.biomass' is in vars

Value

A data.frame with mohn's rho for each variable by stock


gadget-framework/gadgetutils documentation built on June 13, 2025, 3:05 a.m.