Description Creating Objects from the Class Slots Extends Methods Details See Also Examples
This class encapsulates results of a rpay
method.
Objects of this classe should be created with a call to the contructor function rpay(object, ...)
, where object
must be an object of class "FLQuant"
and ...
can be used to pass trim
arguments to the creator funtion.
Object of class "FLQuant"
.
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 rpay
P_{ay}^r is:
Consider:
P_{ay}=\frac{C_{ay}}{∑_a{C_{ay}}}
and
\bar{P}_{a}=\frac{∑_y{P_{ay}}}{Y}
P_{ay}^r=\frac{P_{ay}}{\bar{P}_{a}}
FLQuant-class
, trim,
pay-class
1 2 3 4 5 6 7 8 9 10 11 | data(ple4sex)
# compute relative catch proportion at age
ple4sex.rpay <- rpay(ple4sex@catch.n)
# fine tune
ttl <- list(label="Relative catch proportion at age for Plaice in IV", cex=1)
yttl <- list(label="age", cex=0.8)
xttl <- list(cex=0.8)
ax <- list(cex=0.7)
# plot
bubbles(age~year|unit, ple4sex.rpay, main=ttl,
ylab=yttl, xlab=xttl, scales=ax)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.