addition-methods.Rd
Update FLStock
and FLIndex
objects with stock assessment results.
Update FLStocks
objects with multiple stock assessment results in a a4aFits
.
Add residual uncertainty to FLStock
objects.
Update FLStock
and FLIndex
objects with simulations from stock assessment fits.
# S4 method for class 'FLStock,a4aFit'
e1 + e2
# S4 method for class 'FLStocks,a4aFits'
e1 + e2
# S4 method for class 'FLStock,a4aFitSA'
e1 * e2
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.
Random normal draws will be added to the log transformed stock.n and catch.n slots using the standard deviation computed from the residuals catch.n and index, for catch.n and stock.n respectively. Returns a FLStock
object.