-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathremake.yml
62 lines (50 loc) · 1.36 KB
/
remake.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
packages:
- readr
- rstan
- dplyr
- cowplot
- ggplot2
- bookdown
- rmarkdown
sources:
- 'R'
plot_options:
2col_square:
width: 6.6
height: 6.6
1col_portrait:
width: 3.46
height: 6.6
targets:
all:
depends:
- resprout_model
- figures/mortality_partial_plots.pdf
- figures/count_partial_plots.pdf
- figures/tribe_effects.pdf
- figures/spp_effects.pdf
- manuscript/supplementary.pdf
#------------- Load data ---------------------------
resprout_data:
command: load_data("raw_data/data.csv")
cleanup_level: purge
#------------- Run stan models ---------------------------
resprout_model:
command: run_stan_model(resprout_data)
cleanup_level: purge
#------------- make figures ---------------------------
figures/mortality_partial_plots.pdf:
command: plot_partial_mortality(resprout_model)
plot: 2col_square
figures/count_partial_plots.pdf:
command: plot_partial_count(resprout_model)
plot: 2col_square
figures/tribe_effects.pdf:
command: plot_tribe_effects(resprout_model)
plot: 1col_portrait
figures/spp_effects.pdf:
command: plot_spp_effects(resprout_model)
plot: 1col_portrait
#------------- supplemental material ---------------------------
manuscript/supplementary.pdf:
command: render("manuscript/supplementary.Rmd")