sy_plot: Sustainable Yield Plot

Description Usage Arguments

View source: R/sustainable_yield.R

Description

Sustainable Yield Plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sy_plot(
  samples,
  model,
  file_path,
  alpha = 0.5,
  leg_pos = c(17500, 40000),
  width = 750,
  height = 750,
  y_up = 70000
)

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.

alpha

(numeric) desired significance level for credible intervals.

leg_pos

(numeric) vector of length 2 specifing the x and y coordinate where the legend should be positioned.

width

(numeric) width of the output plot (in px).

height

(numeric) height of the output plot (in px).

y_up

(numeric) the upper bound on of y-axis.


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