logr-class: Class "logr" for log ratio at age per cohort

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 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

1
2
3
4
5
6
7
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)

FLEDA documentation built on May 31, 2017, 3:35 a.m.