FLCohort-class: Class FLCohort

Description Slots Extends Constructor Methods Author(s) See Also Examples

Description

This class represents cohorts in columns. It simply shifts the typical matrix representation where cohorts are found on the diagonals, into a matrix where cohorts are found in columns. It is very usefull for all analysis that want to make use of cohorts instead of years.

Slots

.Data

Internal S4 data representation. array.

units

The data units in some understandable metric. character

Extends

FLArray array

Constructor

The FLCohort(object) constructor method allows simple creation of new FLCatch with the methods described below.

signature(object=FLQuant) :

Creates a FLCohort object from a FLQuant object. It simply shifts the matrix so that cohorts instead of years are located in the columns (second dimensions) of the array.

signature(object=array) :

Creates a FLCohort object from an array.

signature(object=missing) :

Creates a empty FLCohort object.

Methods

[(base) :

Subset method

signature(x=FLCohort,i=ANY,j=ANY,drop=missing)

as.data.frame(base) :

Coerce to data.frame.

signature(x=FLCohort,row.names=ANY,optional=ANY)

bubbles(FLCore) :

Bubbles plot.

signature(x=formula,data=FLCohort)

ccplot(FLCore) :

Catch curves plot.

signature(x=formula,data=FLCohort)

flc2flq(FLCore) :

Coerce to FLQuant (deprecated).

signature(object=missing)

FLCohort(FLCore) :

Creator method based on FLQuant objects.

signature(object=FLQuant)

plot(graphics) :

Simple plot

signature(x=FLCohort,y=ANY)

quant(FLCore) :

Extract the quant dimension definition.

signature(object=missing)

trim(FLCore) :

Subset based on limiting dimnames.

signature(object=missing)

units(base) :

Extract the information about data units.

signature(x=missing)

units<-(base) :

Replace data units information.

signature(x=FLCohort,value=character)

xyplot(lattice) :

Lattice's xyplot method.

signature(x=formula,data=FLCohort)

Author(s)

The FLR Team

See Also

[, as.data.frame, bubbles, ccplot, FLCohort,FLQuant-method, flc2flq, plot, quant, trim, units, units<-,FLCohort,character-method, xyplot, array

Examples

1
2
3
4
data(ple4)
flq <- catch.n(ple4)
flc <- FLCohort(flq)
plot(trim(flc, cohort=1960:2000))

FLCore documentation built on May 2, 2019, 5:46 p.m.