read_ewe_effort: Read in EwE fishing effort data and make figures

View source: R/read_ewe_output.R

read_ewe_effortR Documentation

Read in EwE fishing effort data and make figures

Description

It reads in the output data from Ecopath with Ecosim (EwE) and making figures for each dataset. The timestep of the output data needs to be month. The rows of the data matrix represents month and the columns of the data represents fleets. It creates figures and save the figures where EwE output csv files are located. The potential data include: fishing effort over years.

Usage

read_ewe_effort(
  file_path,
  file_names,
  skip_nrows = 8,
  colname_1 = "month",
  fleets,
  years
)

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.

skip_nrows

integer: the number of lines of the data file to skip before reading data.

colname_1

column name of the first column. Default name is Month.

fleets

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

years

a vector of years.


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