FLCohort-class {FLEDA}R Documentation

Class "FLCohort" for information by cohort

Description

This class encapsulates information by cohort or year-classes. It is very similar to "FLQuant" the major difference is the translation of the rows so that in each column (year) there will be a cohort or year-class.

Creating Objects from the Class

Objects of this classe should be created with a call to the creator function FLCohort(object, ...), where object must be of class "FLQuant" and ... can be used to pass trim arguments to the creator funtion.

Slots

.Data:
"array" with age by year-class data.
units:
"character" with units.

Methods

Type showMethods(classes="FLCohort", where = "package:FLEDA", showEmpty=FALSE) at the R prompt for a complete list of methods which are available for this class.

as.data.frame
signature(x = "FLCohort", row.names = "missing", optional = "missing"): Coerces "FLCohort" into "data.frames".
[
signature(x = "FLCohort"): Subseting for "FLCohort".
bubbles
signature(x = "formula", data = "FLCohort"): Bubbles plots.
ccplot
signature(x = "formula", data = "FLCohort"): Catch curves plot.
flc2flq
signature(obj = "FLCohort"): Coerces "FLCohort" into "FLQUant".
quant
signature(object = "FLCohort"): Extracts the quant dimension's name.
trim
signature(obj = "FLCohort"): Subseting "FLCohort" based on dimnames.
units
signature(object = "FLCohort"): Extracts the units.
units<-
signature(object = "FLCohort", value="character"): Units replacement method.

See Also

FLQuant-class

Examples

data(ple4)
flc <- FLCohort(catch.n(ple4))
plot(flc)

[Package FLEDA version 1.3-2 Index]