Load information for SSB and Recruits from an Atlantis model run.
load_rec(yoy, ssb, prm_biol)
yoy | Character string giving the connection of the YOY file.
The filename usually contains |
---|---|
ssb | Character string giving the connection of the YOY file.
The filename usually contains |
prm_biol | Character string giving the connection to the biological parameterfile.
The filename usually contains |
Dataframe with information about ssb in tonnes and recruits in thousands.
Other load functions:
load_box()
,
load_bps()
,
load_dietcheck()
,
load_fgs()
,
load_init_age()
,
load_init()
,
load_mort()
,
load_nc_physics()
,
load_nc()
,
load_spec_mort()
,
load_spec_pred_mort()
,
load_txt()
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)#> species time ssb rec #> 1 FPS 0.0 0.0000 103637.2850 #> 2 FPS 365.0 1319.6907 61643.4168 #> 3 FPS 730.0 991.9906 2040.7086 #> 4 FPS 1094.5 889.2720 799.4379 #> 5 FVS 0.0 0.0000 330282.8031 #> 6 FVS 365.0 6009.9847 717322.1254 #> 7 FVS 730.0 2365.1658 67151.2162 #> 8 FVS 1094.5 1747.8319 50751.0497