load_fgs: Load the functional group file

View source: R/load_fgs.R

load_fgsR Documentation

Load the functional group file

Description

Read in the functional group file, which is typically saved as functionalGroups.csv.

Usage

load_fgs(dir = getwd(), file_fgs)

Arguments

dir

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

file_fgs

A character value specifying the file name of the Atlantis functional groups file. The file should be located in your current working directory or the folder you specify in dir. The argument can also be specified as the full path name, just as long as argument dir is specified as NULL. Usually, the filename is "functionalGroups.csv".

Value

A data.frame of functional group information.

Author(s)

Alexander Keth

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_fisheries(), load_meta(), load_nc_annage(), load_nc_catchtons(), load_nc(), load_runprm(), load_yoy()

Examples

d <- system.file("extdata", "SETAS_Example", package = "atlantisom")
fgs <- load_fgs(d, "Functional_groups.csv")
rm(fgs)


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