Load information for SSB and Recruits from an Atlantis model run.
Arguments
- yoy
Character string giving the connection of the YOY file. The filename usually contains
outputYOYand ends in.txt".- ssb
Character string giving the connection of the YOY file. The filename usually contains
outputSSBand ends in.txt".- prm_biol
Character string giving the connection to the biological parameterfile. The filename usually contains
biol_fishingand does end in.prm.
See also
Other load functions:
load_box(),
load_bps(),
load_dietcheck(),
load_fgs(),
load_init(),
load_init_age(),
load_mort(),
load_nc(),
load_nc_physics(),
load_spec_mort(),
load_spec_pred_mort(),
load_txt()
Examples
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)
#> # A tibble: 8 × 4
#> species time ssb rec
#> <chr> <dbl> <dbl> <dbl>
#> 1 FPS 0 0 103637.
#> 2 FPS 365 1320. 61643.
#> 3 FPS 730 992. 2041.
#> 4 FPS 1094. 889. 799.
#> 5 FVS 0 0 330283.
#> 6 FVS 365 6010. 717322.
#> 7 FVS 730 2365. 67151.
#> 8 FVS 1094. 1748. 50751.