FLCatch-class {FLCore} | R Documentation |
An internal class for FLFleet objects that stores stock or species specific information on landings, discards and catches
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()
.
name
:gear
:range
:catch
:catch.n
:catch.wt
:update
)catch.sel
:discards
:discards.n
:discards.wt
:discards.sel
:landings
:landings.n
:landings.wt
:landings.sel
:q
:price
:Summarise contents:
signature(object = "FLCatch")
: Prints a summary of the object contentsPlotting contents
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:
Other:
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").signature(object = "FLStock"):
These two methods estimate
landings and discards time series respectively, from the corresponding weights and numbers.signature(obj = "FLCatch")
: Alters the content of individual slots in
a FLCatch object. Only the data is altered, not dimnames.
FLR Team