Description Generic Function Methods Author(s) See Also Examples
Extends an FLStock object along the year dimensin and prepares some of the slots for forward stock projection, using a similar method to FLSTF. Can be used in conjunction with fwd() for validating assessments.
stf(object,nyears=3,wts.nyears=3,fbar.nyears=NA,arith.mn=TRUE, na.rm=TRUE)
\
object
: FLStock
object the forecast is to be perfomed on.
nyears
: Number of years to extend the stock object by, i.e. number of
forecast years.
wts.nyrs
: Number of years over which to calculate mean for *.wt,
*.spwn, mat and m slots.
fbar.nyrs
: Number of years over which to calculate mean for harvest slot.
Number of years over which to calculate mean for discards.n and landings.n slots, If unspecified, wts.nyrs is used.
Boolean - if TRUE use arithmetic mean, if FALSE use geometric mean.
na.rm
: Boolean - whether to ignore NA values when calculating means.
FLStock
object
: Extends the stock object by a number of years and estimates the values in the future years of the slots.
The future values of the mat, m, harvest.spwn, m.spwn, harvest and all *.wt slots are set to the mean (geometric or arithmetic) value of the last user defined number of years.
The future values of the discards.n and landings.n slots are returned only as estimated proportions, not actual numbers. The proportions are calculated as the mean proportion of the sum of the landings and discard numbers over wts.years.
The remaining slots (stock.n, catch.n, stock, catch, discards, landings) are set to NA.
Not yet implemented for multiple seasons or areas.
FLR Team
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.