fwdWindow,FLStock,FLBRP-method | R Documentation |
Extends an object representing a fish population for projecting into the future using the assumed equilibirum values used in the calculation of reference points
## S4 method for signature 'FLStock,FLBRP'
fwdWindow(x, y, end = dims(x)$maxyear)
x |
The population object, for example of class |
y |
The reference points object, of class |
end |
Final year of the extended object, always interpreted as a character |
slts <- c("stock.wt", "landings.wt", "discards.wt", "catch.wt", "m", "mat", "harvest.spwn", "m.spwn")
An object of the same class a x, extended to year=end
data(ple4)
# Create the FLSR and FLBRP objects
psr <- fmle(as.FLSR(ple4, model="bevholt"), control=list(trace=0))
prp <- brp(FLBRP(ple4, sr=psr))
res <- fwdWindow(ple4, prp, end=dims(ple4)$maxyear + 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.