logcc-class: Class "logcc" for log catch curves

Description Creating Objects from the Class Slots Extends Methods Details See Also Examples

Description

This class encapsulates results of a log ratio at age per cohort method.

Creating Objects from the Class

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

Slots

.Data

Object of class "FLCohort".

units

Units of measurement, "character".

Extends

Class "FLCohort", directly.

Methods

Inherits from "FLCohort".

Details

Considering C_{ay}, the catch in numbers at age a=1,…,A per year y=1,…,Y, obtained e.g. from the catch.n slot of a "FLStock", the computation of logr L_{ay} is:

L_{ay}=log{\frac{C_{ay}}{C_{a+1,y+1}}}

See Also

FLQuant-class, trim, FLCohort-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(ple4sex)
# compute logcc
ple4sex.cc <- logcc(ple4sex@catch.n)
# fine tune plot
ttl <- list(label="Log catch curves by sex for plaice in IV", cex=1)
yttl <- list(label="log ratio", cex=0.8)
xttl <- list(cex=0.8)
stripttl <- list(cex=0.8)
ax <- list(cex=0.7)
# plot
ccplot(data~age|unit, data=ple4sex.cc, type="l", main=ttl, 
       ylab=yttl, xlab=xttl, scales=ax, par.strip.text=stripttl, col=1)

flr/FLEDA documentation built on May 30, 2020, 10:35 a.m.