-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path00-run-all.R
37 lines (25 loc) · 815 Bytes
/
00-run-all.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
# Make all the figures for the paper:
library("here")
source(here("analysis/01-simulation-test.R"))
rm(list = ls()) # to avoid 'future' package exporting large objects
source(here("analysis/05-main-fig.R"))
rm(list = ls())
source(here("analysis/06-cycle-f2.R"))
rm(list = ls())
source(here("analysis/07-threshold.R"))
rm(list = ls())
source(here("analysis/08-f-projections.R"))
rm(list = ls())
source(here("analysis/09-delay.R"))
rm(list = ls())
source(here("analysis/09-rw.R"))
rm(list = ls())
source(here("analysis/10-sensitivity.R"))
if (Sys.info()[["user"]] == "seananderson") {
# Data cannot be publicly released:
source(here("analysis/11-onset-date.R"))
}
source(here("analysis/13-timeline.R"))
rm(list = ls())
source(here("analysis/14-sensitivity2.R"))
source(here("analysis/99-optimize.R"))