Package 'AAP'

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

Help Index


What The Package Does

Description

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

Author(s)

%USER% %EMAIL%, duplicate ampersand

Maintainer: %USER% %EMAIL%, duplicate ampersand

See Also

See vignette("%FLPKG%", package = "%FLPKG%") for an overview of the package.

Examples

## Not run: FLPKG()

Compute a retrospective hindcast cross-validation of AAP indices

Description

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.

Usage

aaphcxval(stock, indices, control, nyears = 5, nsq = 3, pin = NULL)

Arguments

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.

Value

A list containing elements 'stocks', of class FLStocks, and 'indices', a list of FLIndices objects. See details for the structure of this list.

Examples

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 from ...

Description

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.

Format

An object of class CLASS with


A class for

Description

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

Slots

SLOT

Neque porro quisquam est qui dolorem ipsum (SLOTCLASS).

Validity

VALIDITY

Neque porro quisquam est qui dolorem ipsum.

You can inspect the class validity function by using getValidity(getClassDef('FLCatch'))

Accessors

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.

Constructor

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

Methods exist for various calculations based on values stored in the class:

METHOD

Neque porro quisquam est qui dolorem ipsum.

Author(s)

The FLR Team

See Also

FLComp


A method for

Description

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.

Usage

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
)

Arguments

PARAM

Lorem ipsum dolor sit amet

Details

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.

Value

RETURN Lorem ipsum dolor sit amet

Author(s)

The FLR Team

See Also

FLComp

Examples

data(sol4)