stock_renewal: Generate paramerterised stock renewal factor

View source: R/setup-utils.R

stock_renewalR Documentation

Generate paramerterised stock renewal factor

Description

Generate paramerterised stock renewal factor

Usage

stock_renewal(
  stock,
  id = "species",
  scalar_id = "species",
  exponentiate_rec = FALSE,
  exponentiate_rec_scalar = FALSE
)

Arguments

stock

A g3 stock object

id

Part of the stock name to use in parameter name

scalar_id

Part of the stock name to use in parameter name

exponentiate_rec

Should the annual renewal parameters be exponentiated?

exponentiate_rec_scalar

Should the renewal scalar be exponentiated?

Value

"scalar * renew" formula, parameterised for given stock


gadget-framework/gadgetutils documentation built on Nov. 11, 2024, 6:25 p.m.