plot.everything: Create all of the diagnostic plots from a given directory

View source: R/plot.everything.r

plot.everythingR Documentation

Create all of the diagnostic plots from a given directory

Description

Give a directory that contains the output of an MFCL run and the function will automatically find the largest par file (or if is exists the out.par) to create all the figures currently available and save in a subdirectory called DiagnosticPlots

Usage

plot.everything(
  rundir,
  spp = "skj",
  parname = NULL,
  fdescloc = NULL,
  outdir = NULL,
  tag.rep.groups = NULL,
  ...
)

Arguments

rundir

A directory string that tells where to get the files

spp

The species abbreviation that comes before

fdescloc

optional location of fdesc.txt file that contains information for labels of figures if not included within the folder. the fdesc.txt is a file with 7 columns and an entry for each fishery in the model. The columns should be named 1. num 2. gear_long 3. method 4. code 5. gear 6. flag 7. region. This file creates all of the labels for the fisheries.

outdir

An optional directory path that tells where the figures are to be saved. The function will automatically create a directory called DiagnosticPlots within dir if not provided an outdir.

tag.rep.groups

Optional. Provide a character vector of names for the tag reporting groups.

...

Additional parameters that can be fed to the palette? Not functional

par

optional name of par file you you want plotted otherwise finds and uses largest number value


PacificCommunity/ofp-sam-diags4MFCL documentation built on Oct. 11, 2023, 1:32 a.m.