atlantis_consumption: Atlantis stomach content parsers

Description Usage Arguments Value

Description

Routines to read and make use of the atlantis diet matrix

Usage

1
2
3
4
5
atlantis_stomach_matrix(adir)
atlantis_stomach_content(adir,
        consumption,
        predator_map,
        prey_map)

Arguments

adir

The atlantis directory created by atlantis_directory

consumption

Survey data generated by atlantis_fg_tracer with consumption = TRUE

predator_map

Vector of functional groups to MFDB species, e.g. c(FCD = 'COD')

prey_map

Vector of functional groups to MFDB species, e.g. c(FHE = 'HER'), any other species will be discarded

Value

atlantis_stomach_matrix returns the content of the Atlantis diet matrix, annotated with year/month.

atlantis_stomach_content expands the consumption data into a stomach survey, dividing the total consumed biomass into proportions based on the diet matrix.


mareframe/mfdbatlantis documentation built on May 21, 2019, 11:45 a.m.