Similar to the old STF method in FLAssess. Extends the object by a number of years and fill in the life history characteristics by taking a mean of the last few years.
stf(object, ...)
# S4 method for FLStock
stf(
object,
nyears = 3,
wts.nyears = 3,
fbar.nyears = wts.nyears,
f.rescale = FALSE,
arith.mean = TRUE,
na.rm = TRUE,
end = dims(object)$maxyear + nyears,
disc.nyears = wts.nyears
)
# S4 method for FLBiol
stf(
object,
nyears = 3,
wts.nyears = 3,
arith.mean = TRUE,
na.rm = TRUE,
end = dims(object)$maxyear + nyears
)
# S4 method for FLStocks
stf(object, ...)
The object (FLStock or FLBiol)
Other things.
Number of years to extend the object
Number of years to average over to get the future mean weights at age.
Number of years to average the F over (only used if object is an FLStock)
Rescale F (TRUE or FALSE - default is FALSE)
If TRUE the arithmetic mean is used. If FALSE the geometric mean is used. Default is TRUE.
For the mean function.
My beautiful friend
Number of years to average over to get the future mean proportion of discards at age.
data(ple4)
proj <- stf(ple4, 3)