FLCatch-class {FLCore}R Documentation

Class FLCatch

Description

An internal class for FLFleet objects that stores stock or species specific information on landings, discards and catches

Objects from the Class

Objects of this class are not meant to be created by the user, but only by those classes and functions that use it. This can be carried out by a call to new("FLCatch") or through the constructor function FLCatch().

Slots

name:
Name of the stock or species
gear:
gear used for generating catches
range:
Age and year range of the catch data
catch:
An FLQuant holding the total catch (landings plus discards) in weight for all ages
catch.n:
Catch in numbers by age
catch.wt:
Weight at age in the catch, usually obtained from those for landings and discards (see update)
catch.sel:
Selectivity by age of the catch
discards:
An FLQuant holding the total discards in weight for all ages
discards.n:
Discards by age in numbers
discards.wt:
Weight at age of the discards
discards.sel:
Selectivity by age of the discards
landings:
An FLQuant of the total landings for all ages
landings.n:
Landings in numbers by age
landings.wt:
Weight at age of landings
landings.sel:
Selectivity by age of the landings
catchability:
catchability coefficient
price:
Price by age and weight

Methods

Summarise contents:

summary
signature(object = "FLCatch"): Prints a summary of the object contents

Plotting contents

plot
signature(x = "FLCatch", y = "missing"): Generates a number of standard plots for an FLCatch. Several plot styles can be specified, by using the type parameter. If type="summary", a four-section plot is created showing total landings, the discards weight, the landing numbers and the landing weights. This is the default plot when no type is specified. If type="composite", a three-section plots is created showing the time series of catch, the differences between measured and calculated catches, if any, and catch-at-age. "catch" creates a plot of the logarithm of the ratios of succesive catches of each cohort. The log-ratios belonging to the same cohort are joined with a line. "Wt" creates a plot with the mean weigth-at-age, a smooth line, calculated with the lowess function, is added for each age. "Wtres" creates a plot of the residuals (the log-ratio of the smooth line fitted weigth-at-age and observed values).

Indexing and subsetting:

window:
To specify a temporal window, along the year dimension, over which to subset or extend the object.

Other:

catch
signature(object = "FLStock"): catch provides a mechanism for estimating catch slots from landings and discards. Three options are available, to estimate catch.n from landings.n and discards.n (slot="n"), to estimate catch weights, catch.wt, as a weighted average of the discards and landings weights ate age (slot="wt"), and to calculate the catch time series from the previous two (slot="all").
landings, discards
signature(object = "FLStock"): These two methods estimate landings and discards time series respectively, from the corresponding weights and numbers.
transform
signature(obj = "FLCatch"): Alters the content of individual slots in a FLCatch object. Only the data is altered, not dimnames.

Author(s)

FLR Team

See Also

FLFleet-class

Examples






[Package FLCore version 1.4-4 Index]