makeAgeTracesRECA: Catch at age traces

Description Usage Arguments Details Value Examples

View source: R/RECAplots.R

Description

Compiles traces for age groups. That is the value for total catch at age in each iteration of eca.predict

Usage

1
makeAgeTracesRECA(prediction, unit = "millions", plusGroup = NULL)

Arguments

prediction

as returned by eca.predict or runRECA.

unit

unit of traced estimates. See details.

plusGroup

Fish this age or older will be grouped in one trace.

Details

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:

number

Catch at age as number of fish

thousands

Catch at age as number of fish in thousands

millions

Catch at age as number of fish in millions

kg

Catch at age as mass in kilogrammes

T

Catch at age as mass in tons

kT

Catch at age as mass in kilotonnes

Value

data.table() with one column for each age (or plus group), and one row for each iteration of eca.predict.

Examples

1

edvinf/prepRECA documentation built on Nov. 11, 2019, 6:30 a.m.