FLFisheries: FLFisheries constructor

FLFisheriesR Documentation

FLFisheries constructor

Description

Make an FLFisheries object.

This is a containuer class for FLFishery objects.

Usage

FLFisheries(object, ...)

## S4 method for signature 'FLFisheries'
landings(object, by = c("fishery", "catch"), sum = TRUE)

## S4 method for signature 'FLFisheries'
discards(object, by = c("fishery", "catch"), sum = TRUE)

## S4 method for signature 'FLFisheries'
catch(object, by = c("fishery", "catch"), sum = TRUE)

## S4 method for signature 'FLFisheries'
landings.n(object, pos = unique(unlist(lapply(object, names))), reduce = TRUE)

## S4 method for signature 'FLFisheries'
discards.n(object, pos = unique(unlist(lapply(object, names))), reduce = TRUE)

## S4 method for signature 'FLFisheries'
catch.n(object, pos = unique(unlist(lapply(object, names))), reduce = TRUE)

## S4 method for signature 'FLFisheries'
landings.wt(object, pos = lapply(object, names))

## S4 method for signature 'FLFisheries'
catch.wt(object, pos = unique(unlist(lapply(object, names))), reduce = TRUE)

## S4 method for signature 'list'
FLFisheries(object, desc = character(1))

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

Arguments

object

Either a list of FLFishery objects or missing

...

Other things

by

Dimension to aggregate by, "fishery" or "catch".

desc

Description

Details

Make an FLFisheries object.

Value

An FLFisheries object

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

Constructor

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

Author(s)

The FLR Team

Finlay Scott, EC JRC.

See Also

FLComp

FLCatch, FLFishery


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