makebiomC: makebiomC runs the surplus production model inside catch-MSY.

View source: R/RcppExports.R

makebiomCR Documentation

makebiomC runs the surplus production model inside catch-MSY.

Description

runs the surplus production model inside catch-MSY. This is written in C++ because it contains two for-loops the whole of which is run for however many iterations are used. Without using C++ the process can take 15 minutes rather than 20 seconds. This function is only called inside sraMSY, which is another function that did not strictly need to be exported to the public gaze.

Usage

makebiomC(intheta, bd, ct)

Arguments

intheta

the vector of parameters for the spm and the biomass

bd

the intial biomass depletion vector

ct

the vector of catches leading to the stock reduction


haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.