load_fgs: Load the functional group file

Description Usage Arguments Value See Also Examples

View source: R/load-fgs.R

Description

Read in the functional group file as dataframe.

Usage

1
load_fgs(fgs)

Arguments

fgs

Character string giving the connection to the functional groups file. The filename usually contains Groups and does end in .csv.

Value

A data.frame of functional group information.

See Also

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

Examples

1
2
3
4
5
6
7
8
9
d <- system.file("extdata", "setas-model-new-becdev", package = "atlantistools")
file <- "SETasGroups.csv"
fgs <- load_fgs(file.path(d, file))
head(fgs)

d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
file <- "SETasGroupsDem_NoCep.csv"
fgs <- load_fgs(file.path(d, file))
head(fgs)

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