-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
65 lines (46 loc) · 3.09 KB
/
Makefile
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
63
64
65
### Makefile
# Alec Robitaille
## 4 - Sociality
# NNA
output/4-sociality/elkNNA.Rds: scripts/4-sociality/Nearest-Neighbour-Analysis.R output/4-sociality/elkAngle.Rds
Rscript scripts/4-sociality/Nearest-Neighbour-Analysis.R --arg elk
output/4-sociality/caribouNNA.Rds: scripts/4-sociality/Nearest-Neighbour-Analysis.R output/4-sociality/caribouAngle.Rds
Rscript scripts/4-sociality/Nearest-Neighbour-Analysis.R --arg caribou
# Angles
output/4-sociality/elkAngle.Rds: scripts/4-sociality/Calculate-Turn-Angles.R output/3-extraction/elkExtract.Rds paper/summary-rsf-table.pdf
Rscript scripts/4-sociality/Calculate-Turn-Angles.R --arg elk
output/4-sociality/caribouAngle.Rds: scripts/4-sociality/Calculate-Turn-Angles.R output/3-extraction/caribouExtract.Rds paper/summary-rsf-table.pdf
Rscript scripts/4-sociality/Calculate-Turn-Angles.R --arg caribou
## 3 - Extract
# RMNP
output/3-extraction/elkExtract.Rds: scripts/3-extraction/Elk-Extraction.R output/2-rsf/models/elkWinterModel.Rds output/2-rsf/models/elkSpringModel.Rds output/2-rsf/models/wolfWinterModel.Rds output/2-rsf/models/wolfSpringModel.Rds
Rscript scripts/3-extraction/Elk-Extraction.R
# NL
output/3-extraction/caribouExtract.Rds: scripts/3-extraction/Caribou-Extraction.R output/2-rsf/models/bearWinterModel.Rds output/2-rsf/models/bearSpringModel.Rds output/2-rsf/models/caribouWinterModel.Rds output/2-rsf/models/caribouSpringModel.Rds output/2-rsf/models/coyoteWinterModel.Rds output/2-rsf/models/coyoteSpringModel.Rds
Rscript scripts/3-extraction/Caribou-Extraction.R
## 2 - RSFs
# RMNP
output/2-rsf/models/elkWinterModel.Rds output/2-rsf/models/elkSpringModel.Rds: scripts/2-rsf/RMNP-RSF.R output/1-data-prep/elk.Rds
Rscript scripts/2-rsf/RMNP-RSF.R --arg elk
output/2-rsf/models/wolfWinterModel.Rds output/2-rsf/models/wolfSpringModel.Rds: scripts/2-rsf/RMNP-RSF.R output/1-data-prep/wolf.Rds
Rscript scripts/2-rsf/RMNP-RSF.R --arg wolf
# NL
output/2-rsf/models/bearWinterModel.Rds output/2-rsf/models/bearSpringModel.Rds: scripts/2-rsf/NL-RSF.R output/1-data-prep/bear.Rds
Rscript scripts/2-rsf/NL-RSF.R --arg bear
output/2-rsf/models/caribouWinterModel.Rds output/2-rsf/models/caribouSpringModel.Rds: scripts/2-rsf/NL-RSF.R output/1-data-prep/caribou.Rds
Rscript scripts/2-rsf/NL-RSF.R --arg caribou
output/2-rsf/models/coyoteWinterModel.Rds output/2-rsf/models/coyoteSpringModel.Rds: scripts/2-rsf/NL-RSF.R output/1-data-prep/coyote.Rds
Rscript scripts/2-rsf/NL-RSF.R --arg coyote
## 1 - Prep data
# RMNP
output/1-data-prep/elk.Rds: scripts/1-data-prep/Relocations/Elk-Prep.R
Rscript scripts/1-data-prep/Relocations/Elk-Prep.R
output/1-data-prep/wolf.Rds: scripts/1-data-prep/Relocations/Wolf-Prep.R
Rscript scripts/1-data-prep/Relocations/Wolf-Prep.R
# NL
output/1-data-prep/bear.Rds: scripts/1-data-prep/Relocations/Bear-Prep.R
Rscript scripts/1-data-prep/Relocations/Bear-Prep.R
output/1-data-prep/caribou.Rds: scripts/1-data-prep/Relocations/Caribou-Prep.R
Rscript scripts/1-data-prep/Relocations/Caribou-Prep.R
output/1-data-prep/coyote.Rds: scripts/1-data-prep/Relocations/Coyote-Prep.R
Rscript scripts/1-data-prep/Relocations/Coyote-Prep.R