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

Description Usage Arguments

View source: R/plot.everything.r

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

1
2
3
4
5
6
7
8
9
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 Sept. 18, 2020, 3:17 a.m.