load_yoy: Load Atlantis '[...]YOY.txt' file

View source: R/load_yoy.R

load_yoyR Documentation

Load Atlantis [...]YOY.txt file

Description

This function loads the Atlantis young of the year file. Where young of the year is only available for species that are turned on in the functionalGroups.csv file.

Usage

load_yoy(dir, file_yoy, verbose = FALSE)

Arguments

dir

The directory of the atlantis model output, where the default is getwd().

file_yoy

A character value specifying the name of the text file that contains young of the year output for an Atlantis scenario. An example entry would be "outputSETASYOY.txt".

verbose

A logical value specifying if output should be written to the screen or not. The default value is FALSE.

Value

A data frame of recruitment outputs from the YOY.txt file.

Author(s)

Emma E Hodgson

See Also

Other load functions: load_agebioind(), load_bioind(), load_biolprm(), load_boxarea(), load_box(), load_bps(), load_catch(), load_detailed_diet_comp(), load_diet_comp(), load_fgs(), load_fisheries(), load_meta(), load_nc_annage(), load_nc_catchtons(), load_nc(), load_runprm()

Examples

d <- system.file("extdata", "SETAS_Example", package = "atlantisom")
file <- "outputsYOY.txt"
test <- load_yoy(dir = d, file_yoy = file)

r4atlantis/atlantisom documentation built on Nov. 12, 2023, 2:59 a.m.