plot_MCBE: Plot results from MCBE uncertainty analysis

View source: R/plot_MCBE.R

plot_MCBER Documentation

Plot results from MCBE uncertainty analysis

Description

Plot results from MCBE uncertainty analysis

Usage

plot_MCBE(
  sim_summary,
  dir_figs = "figs",
  fileName = "bam",
  dir_bam_base = NULL,
  filter_info = list(gradient.max = c(0, 0.01), Fref = c(0, 5), F.Fref = c(0, 5),
    R.sigma.par = c(0.2, 1), R0_prob = c(0.005, 0.995)),
  base_tseries_args = list(type = "o", lty = 1, lwd = 2, pch = 16, col = "black"),
  base_aseries_args = list(type = "o", lty = 1, lwd = 2, pch = 16, col = "black"),
  nm_rp = list(parms = c(Fref = "Fmsy", F.Fref = "Fend.Fmsy.mean", Sref = "msst", S.Sref
    = "SSBend.MSST"), t.series = c(F = "F.full", F.Fref = "F.Fmsy", Sref = "SSB", S.Sref
    = "SSB.msst"))
)

Arguments

sim_summary

Output object from summarize_MCBE

dir_figs

name of directory that will be created to store figures

fileName

Name given to BAM base files, not including file extensions.

dir_bam_base

Name of directory to write bam base model files to, relative to the working directory.

filter_info

list of ranges used to filter out MCBE results. set to NULL to retain all results.

base_tseries_args

arguments to add to plotting functions (e.g. points()) that add base results to time series plots

base_aseries_args

arguments to add to plotting functions (e.g. points()) that add base results to age series plots

nm_rp

names of reference points to include in plots

Examples

## Not run: 
# Run MCBE, writing files to dir_bam_sim
run_MCBE("GrayTriggerfish", dir_bam_sim="sim_GrTr")
# Summarize results of MCBE and assign to object
MCBE_GrTr <- summarize_MCBE(dir_bam_sim="sim_GrTr")
# Plot MCBE results

## End(Not run)

nikolaifish/bamExtras documentation built on July 21, 2023, 8:26 a.m.