logr-class {FLEDA} | R Documentation |
This class encapsulates results of a log ratio at age per method.
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.
Class "FLQuant"
, directly.
Inherits from "FLQuant"
.
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}}}
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)