-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmake.R
42 lines (26 loc) · 1.38 KB
/
make.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#------------------------------------------------------------------------------#
# Code to run simulations and generate Figures
# ** make.R last run on 2019-04-30 **
#------------------------------------------------------------------------------#
rm(list = ls())
source("load.R")
# generate Figure 2: Exploitation and run time series
source("figure_2.R")
# generate Figure 2: Exploitation and run time series
source("figure_3.R")
#------------------------------------------------------------------------------#
# Fit age-structures state-space stock-recruit model to data
#------------------------------------------------------------------------------#
source("bayes_sr_model_fit.R")
# generate Figure 4: SR relationship and productivity time series
source("figure 4.R")
#------------------------------------------------------------------------------#
# Run simulations to quantify prospects for recovery over next twenty years
#------------------------------------------------------------------------------#
source("forward_sims.R")
# generate Figure 4: stock trajectories and probabilities of exceeding recovery goals
source("figure_5.R")
#------------------------------------------------------------------------------#
# Run harvest monitoring simulations and generate figures
#------------------------------------------------------------------------------#
source("samp_sims_figure6_7.R")