logr-class {FLEDA}R Documentation

Class "logr" for log ratio at age per cohort

Description

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

Creating Objects from the Class

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

Slots

logr
Object of class FLQuant.

Extends

Class "FLQuant", directly.

Methods

Inherits from "FLQuant".

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" object, the computation of logr L_{ay} is:

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

See Also

FLQuant-class, trim

Examples

require(FLEDA)
data(ple4)
myp <- logr(catch.n(ple4))
plot(myp)
# now trimming years
myp <- logr(catch.n(ple4), year=c(1990:2000))
plot(myp)

[Package FLEDA version 1.4-3 Index]