create_effort_folder_setup: create folders structure to hold model output.

Description Usage Arguments Value

View source: R/create_effort_folder_setup.R

Description

The folder structure is dependent on the number and type of scenarios selected in addition to the number of fleets. Every combination of fleet/exploitation is considered. If there are 3 fleets and 8 exploitation levels there will be 8x8x8 = 512 folders. Within each scenario are subfolder to store model output: dat and pin files and/or plots.

Usage

1
2
3
4
5
6
create_effort_folder_setup(
  rootFolder,
  fleetNames,
  exploitationRates,
  create = T
)

Arguments

rootFolder

Character string: name of folder to hold all output from a single set of parameters

exploitationRates

Numeric matrix: Values for the exploitation rates for each fleet. Eg. Column 1 would be the values of exploitation rates from min to max for fllet 1, column 2 for fleet 2, etc.

create

Boolean. To create folders on machine (TRUE), to retrun structure only (F)

fleetsNames

Character vector: Names of the fleets in the model

Value

A Character matrix (3 columns):

folderStructure

Column 1 = hcrType, Column 2 = hcrLevels, column 3 = exploitationRate


andybeet/hydramse documentation built on April 16, 2021, 5:23 a.m.