importADCAM | R Documentation |
Import ADCAM model results into a standard format suitable for plotting.
importADCAM(dir)
dir |
directory containing the results files (‘resultsbyyearandage’, ‘resultsbyyear’, ‘resultsbyage’), as well as the input file ‘catchparameters’ specifying selectivity periods. |
A list of class scape
containing the following elements:
N |
predicted numbers at age |
B |
predicted biomass, recruitment, and observed landings (year things) |
Sel |
predicted selectivity and observed maturity (age things) |
Dev |
predicted recruitment deviates from the stock-recruitment curve |
Survey |
survey abundance index and fit |
CAc |
commercial C@A (catch at age) and fit |
CAs |
survey C@A (catch at age) and fit |
B$VB
is reference biomass.
Survey$CV
is 0
to give plotIndex
sensible y-axis
limits.
CAc$SS
and CAs$SS
are the
log(obs+const) - log(fit+const)
residuals used in the ADCAM
likelihood.
Bjornsson, H. and A. Magnusson. (2009) ADCAM user manual (draft version). ICES CM 2009/ACOM:56, Annex 6.
read.table
, readLines
, and
scan
import any data.
x.saithe
was created using importADCAM
.
importCol
imports Coleraine model results.
scape-package
gives an overview of the package.
path <- system.file("example/saithe", package="scape")
saithe <- importADCAM(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.