addition-methods: + methods

additionR Documentation

+ methods

Description

Update FLStock and FLIndex objects with stock assessment results.

Update FLStocks objects with multiple stock assessment results in a a4aFits.

Usage

## S4 method for signature 'FLStock,a4aFit'
e1 + e2

## S4 method for signature 'FLStocks,a4aFits'
e1 + e2

Arguments

e1

the original FLStocks object

e2

a a4aFits object from where the new FLStock slots will be extracted.

Details

If both objects have the same number of iterations, the FLStock slots will be replaced by the a4aFit slots, in the case of 1 iter, or a4aFitSA slots, in the case of n iters. If one of the objects has 1 iter and the other n, the method will simulate using the fit results from the a4aFitSA object to update the slots of the FLStock object.

If both objects have the same number of iterations, the FLStocks slots will be replaced by the a4aFits slots, in the case of 1 iter, or a4aFitSA slots, in the case of n iters. If one of the objects has 1 iter and the other n, the method will simulate using the fit results from the a4aFitSA object to update the slots of the FLStock object.


flr/FLa4a documentation built on Dec. 21, 2024, 9:28 p.m.