profile_plot: Optimal Yield, Overfishing, and Optimal Recruitment...

Description Usage Arguments

View source: R/profile_plot.R

Description

Optimal Yield, Overfishing, and Optimal Recruitment Probability Plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
profile_plot(
  samples,
  model,
  file_path,
  old_goal_med,
  old_goal_lo,
  old_goal_up,
  legend_position = c(15000, 1),
  width = 1000,
  height = 1000
)

Arguments

samples

(data.frame) output of clean_chains.

model

(character) the model being run

file_path

(character) file path to store the output jpeg file.

old_goal_med

(numeric) vector of length 2 specifying the old escapement goal. The first entry cooresponds to the Chena while the second entry cooresponds to the Salcha.

old_goal_lo

(numeric) vector of length 2 specifying the lower bound of the old escapement goal. The first entry cooresponds to the Chena while the second entry cooresponds to the Salcha.

old_goal_up

(numeric) vector of length 2 specifying the upper bound of the old escapement goal. The first entry cooresponds to the Chena while the second entry cooresponds to the Salcha.

legend_position

(numeric) vector of length 2 specifying the x and y coordinate where the legend should be positioned in each plot.

width

(numeric) the width of the output jpeg file (in px).

height

(numeric) the height of the output jpeg file (in px).


jBernardADFG/ChenaSalchaSR documentation built on Nov. 20, 2020, 10:37 p.m.