Title: | Aarts and Poos Stock Assessment Model that Estimates Bycatch |
---|---|
Description: | FLR version of Aarts and Poos stock assessment model. |
Authors: | Iago Mosqueira [aut, cre] |
Maintainer: | Iago Mosqueira <[email protected]> |
License: | EUPL |
Version: | 0.3.4.9001 |
Built: | 2024-10-23 06:16:21 UTC |
Source: | https://github.com/flr/AAP |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend odio ac rutrum luctus. Aenean placerat porttitor commodo. Pellentesque eget porta libero. Pellentesque molestie mi sed orci feugiat, non mollis enim tristique. Suspendisse eu sapien vitae arcu lobortis ultrices vitae ac velit. Curabitur id
%USER% %EMAIL%, duplicate ampersand
Maintainer: %USER% %EMAIL%, duplicate ampersand
See vignette("%FLPKG%", package = "%FLPKG%")
for an
overview of the package.
## Not run: FLPKG()
## Not run: FLPKG()
The output of aaphcxval
consist of a list with two elements, named 'stocks'
and 'indices'. The first is an object of class FLStocks
, each a peel from
the restrospective run. The second element is a list of FLIndices
object.
The first FLIndices
object, named 'data', is a copy of the input 'indices'
argument, with the additioned catch.n
slot, if originally missing. The next
element, named as the final year of the data set, contains the naive prediction
of the input FLIndices
, while the remaining elements are the result of a
hindcast prediction of the relevant indices, those within the year range of
as set ny nyears
.
aaphcxval(stock, indices, control, nyears = 5, nsq = 3, pin = NULL)
aaphcxval(stock, indices, control, nyears = 5, nsq = 3, pin = NULL)
stock |
Input FLStock object. |
indices |
Input FLIndices object. |
nyears |
Number if years for retrospective, defaults to 5. |
nsq |
Number of years for average biology and selectivity, defaults to 3. |
pin |
dsata.frame of parameter estimates to use as starting values. |
A list containing elements 'stocks', of class FLStocks, and 'indices', a list of FLIndices objects. See details for the structure of this list.
data(sol4) sxval <- aaphcxval(sol4 + fit, indices, control=control(fit), pin=stdfile(fit)) plotXval(sxval$indices) plot(window(sxval$stocks, start=2005), metrics=list(SSB=ssb, F=fbar, Recruits=rec))
data(sol4) sxval <- aaphcxval(sol4 + fit, indices, control=control(fit), pin=stdfile(fit)) plotXval(sxval$indices) plot(window(sxval$stocks, start=2005), metrics=list(SSB=ssb, F=fbar, Recruits=rec))
Aliquam sagittis feugiat felis eget consequat. Praesent eleifend dolor massa, vitae faucibus justo lacinia a. Cras sed erat et magna pharetra bibendum quis in mi. Sed sodales mollis arcu, sit amet venenatis lorem fringilla vel. Vivamus vitae ipsum sem. Donec malesuada purus at libero bibendum accumsan. Donec ipsum sapien, feugiat blandit arcu in, dapibus dictum felis.
An object of class CLASS with
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend odio ac rutrum luctus. Aenean placerat porttitor commodo. Pellentesque eget porta libero. Pellentesque molestie mi sed orci feugiat, non mollis enim tristique. Suspendisse eu sapien vitae arcu lobortis ultrices vitae ac velit. Curabitur id
Neque porro quisquam est qui dolorem ipsum (SLOTCLASS
).
Neque porro quisquam est qui dolorem ipsum.
You can inspect the class validity function by using
getValidity(getClassDef('FLCatch'))
All slots in the class have accessor and replacement methods defined that allow retrieving and substituting individual slots.
The values passed for replacement need to be of the class of that slot. A numeric vector can also be used when replacing FLQuant slots, and the vector will be used to substitute the values in the slot, but not its other attributes.
A construction method exists for this class that can take named arguments for
any of its slots. All slots are then created to match the requirements of the
class validity. If an unnamed FLQuant
object is provided, this is used
for sizing but not stored in any slot.
Methods exist for various calculations based on values stored in the class:
Neque porro quisquam est qui dolorem ipsum.
The FLR Team
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend odio ac rutrum luctus. Aenean placerat porttitor commodo. Pellentesque eget porta libero. Pellentesque molestie mi sed orci feugiat, non mollis enim tristique. Suspendisse eu sapien vitae arcu lobortis ultrices vitae ac velit. Curabitur id nunc euismod ante fringilla lobortis. Aliquam ullamcorper in diam non placerat.
makeDAT( stock, numYr, qplat_Fmatrix, qplat_surveys, S_age_knots, F_age_knots, F_time_knots, W_time_knots, numAges, pGrp, indMPs, selSpline, X, WSpline, tquants )
makeDAT( stock, numYr, qplat_Fmatrix, qplat_surveys, S_age_knots, F_age_knots, F_time_knots, W_time_knots, numAges, pGrp, indMPs, selSpline, X, WSpline, tquants )
PARAM |
Lorem ipsum dolor sit amet |
Aliquam sagittis feugiat felis eget consequat. Praesent eleifend dolor massa, vitae faucibus justo lacinia a. Cras sed erat et magna pharetra bibendum quis in mi. Sed sodales mollis arcu, sit amet venenatis lorem fringilla vel. Vivamus vitae ipsum sem. Donec malesuada purus at libero bibendum accumsan. Donec ipsum sapien, feugiat blandit arcu in, dapibus dictum felis.
RETURN Lorem ipsum dolor sit amet
The FLR Team
data(sol4)
data(sol4)