read_ewe_reference_points: Read in EwE MSY reference points and make figures

View source: R/read_ewe_output.R

read_ewe_reference_pointsR Documentation

Read in EwE MSY reference points and make figures

Description

It reads in the MSY reference points (i.e. MSY, FMSY, BMSY) from Ecopath with Ecosim (EwE) and making figures for yield over fishing mortality. It only works with Atlantic menhaden for now.

Usage

read_ewe_reference_points(
  file_path,
  file_names,
  functional_groups,
  key_functional_group,
  ages,
  reference_points_scenario,
  plot
)

Arguments

file_path

a character string shows path to the working folder where EwE output csv files are located.

file_names

a vector of csv file names.

functional_groups

a character string describes the column of the data matrix, which is functional groups in EwE case.

key_functional_group

a character string describes the key functional group.

ages

age classes of the functional groups.

reference_points_scenario

a character string describes the reference points scenario: compensation or staionary.

plot

logical: if TRUE then make figures for all output data files.


Bai-Li-NOAA/IFA4EBFM documentation built on April 26, 2024, 5:35 p.m.