add_target_order_fls: Add the order column to the control target

View source: R/utilities.R

add_target_order_flsR Documentation

Add the order column to the control target

Description

Add the order column to the control target data.frame so that targets are processed in the correct order.

Usage

add_target_order_fls(control)

Arguments

control

A fwdControl object

Details

It is important that the targets in the control object are processed in the correct order. Targets can happen simultaneously. For example, if there are multiple FLFishery objects in operating model each will need to have a target to solve for at the same time as the others. The targets are processed in a time ordered sequence (year / season). However, within the same year and season it is necessary for the min and max targets to be processed separatley and after the other targets.

Value

A fwdControl object with an order column.


iagomosqueira/FLasher documentation built on Jan. 11, 2024, 12:58 a.m.