fwdWindow: fwdWindow

Description Usage Arguments Details Value Examples

Description

Extends an object representing a fish population for projecting into the future using the assumed equilibirum values used in the calculation of reference points

Usage

1
2
## S4 method for signature 'FLStock,FLBRP'
fwdWindow(x, y, end = dims(x)$maxyear)

Arguments

x

The population object, for example of class FLStock

y

The reference points object, of class FLBRP

end

Final year of the extended object, always interpreted as a character

Details

1
2
slts <- c("stock.wt", "landings.wt", "discards.wt", "catch.wt",
   "m", "mat", "harvest.spwn", "m.spwn")

Value

An object of the same class a x, extended to year=end

Examples

1
2
3
4
5
6
7
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)

flr/FLBRP documentation built on May 16, 2019, 1:26 p.m.