load_rec: Load information for SSB and Recruits from an Atlantis model...

Description Usage Arguments Value See Also Examples

View source: R/load-rec.R

Description

Load information for SSB and Recruits from an Atlantis model run.

Usage

1
load_rec(yoy, ssb, prm_biol)

Arguments

yoy

Character string giving the connection of the YOY file. The filename usually contains outputYOY and ends in .txt".

ssb

Character string giving the connection of the YOY file. The filename usually contains outputSSB and ends in .txt".

prm_biol

Character string giving the connection to the biological parameterfile. The filename usually contains biol_fishing and does end in .prm.

Value

Dataframe with information about ssb in tonnes and recruits in thousands.

See Also

Other load functions: load_box, load_bps, load_dietcheck, load_fgs, load_init_age, load_init, load_nc_physics, load_nc, load_spec_mort, load_txt

Examples

1
2
3
4
5
6
d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
yoy <- file.path(d, "outputSETASYOY.txt")
ssb <- file.path(d, "outputSETASSSB.txt")
prm_biol <- file.path(d, "VMPA_setas_biol_fishing_Trunk.prm")

load_rec(yoy, ssb, prm_biol)

atlantistools documentation built on Aug. 16, 2017, 9:05 a.m.