FLCatches: FLCatches constructor

FLCatchesR Documentation

FLCatches constructor

Description

Make an FLCatches object.

This is class is used inside FLFishery to store the catches of all species caught by that fleet. It is not meant to be used directly.

Usage

FLCatches(object, ...)

## S4 method for signature 'list'
FLCatches(object)

## S4 method for signature 'missing'
FLCatches(object, ...)

Arguments

object

Either a list of FLCatch objects or missing

...

Other things

Details

Make an FLCatches object.

Value

An FLCatches object

Validity

Length of dimensions 2:5

All elements must be of class FLCatch

Length of dimensions 2, 4 and 5

All FLQuant slots must share dimensions 2, 4 and 5 (year, season and area).

quant must 'age'

The 1st dimension in elements must be 'age'.

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

Accessors

Elements in the classes can be extracted and replaced using the list subset operators,'[', '[<-', '[[' and '[[<-'.

The values passed for replacement need to be of the class FLCatch.

Constructor

A construction method exists for this class that can take named arguments for any of its elements.

Methods

Methods exist for various operations with elements stored in the class:

plot

Standard plot for the FLCatches class.

Author(s)

The FLR Team

Iago Mosqueira, EC JRC.

See Also

FLComp

FLCatch, FLFishery


iagomosqueira/FLFishery documentation built on Nov. 10, 2023, 6:37 p.m.