Description Usage Arguments Value Examples
Calculate errors of ISBM and CYER
1 2 3 | calcIndexError(dat, postseason = 0:3, minyear = 2000, maxyear = 2013,
estimationyear = 2016, pm = c("mpe", "mape"), standardize = FALSE,
...)
|
dat |
A data frame. Typically the output from |
postseason |
An integer vector. Defines what postseason periods to evaluate. Default is 0:3, which equates to postseason years 1:4. |
minyear |
An integer of length one. The initial year in the time series for evaluation. |
maxyear |
An integer of length one. The final year in the time series for evaluation. |
estimationyear |
An integer of length one. The final year in the time series. |
pm |
A character vector. Names of the performance measures to calculate.
Default tests are |
A list of two data frames. One data frame holds the annual error estimates, the other data frame has the performance measure statistic.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
mort.list <- readMortalityDist("QUI2000_2-6_CMZ.csv")
mort.df <- mort.list$data.mort.long
mort.df$year <- mort.df$CatchYear
fishery.map <- buildCMZfishery(mort.df = mort.df)
dat.cyer <- calcCYER(mort.df = mort.df, fishery.map=fishery.map)
dat.cyer$index <- dat.cyer$mortality.percent/100
results.cyer <- calcIndexError(dat = dat.cyer)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.