makeAgeTracesRECA | R Documentation |
Compiles traces for age groups. That is the value for total catch at age in each iteration of eca.predict
makeAgeTracesRECA(prediction, unit = "millions", plusGroup = NULL)
prediction |
as returned by |
unit |
unit of traced estimates. See details. |
plusGroup |
Fish this age or older will be grouped in one trace. |
The number of iterations of eca.predict
is determined by the parameter 'nSamples' to eca.estimate
or runRECA
and the parameter 'caa.burnin' (different from parameter 'burnin') to eca.predict
or runRECA
parameter 'unit' supports:
Catch at age as number of fish
Catch at age as number of fish in thousands
Catch at age as number of fish in millions
Catch at age as mass in kilogrammes
Catch at age as mass in tons
Catch at age as mass in kilotonnes
data.table() with one column for each age (or plus group), and one row for each iteration of eca.predict
.
data(recaPrediction)
makeAgeTracesRECA(recaPrediction, plusGroup=13)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.