Learn R Programming

scape (version 2.3.5)

importADCAM: Import ADCAM Model Results

Description

Import ADCAM model results into a standard format suitable for plotting.

Usage

importADCAM(dir)

Value

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

Arguments

dir

directory containing the results files (resultsbyyearandage, resultsbyyear, resultsbyage), as well as the input file catchparameters specifying selectivity periods.

References

Bjornsson, H. and A. Magnusson. (2009) ADCAM user manual (draft version). ICES CM 2009/ACOM:56, Annex 6.

See Also

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.

Examples

Run this code
path <- system.file("example/saithe", package="scape")
saithe <- importADCAM(path)

Run the code above in your browser using DataLab