-
Notifications
You must be signed in to change notification settings - Fork 0
/
manuscript-figures.Rmd
72 lines (59 loc) · 1.24 KB
/
manuscript-figures.Rmd
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
66
67
68
69
70
71
---
title: "manuscript-figures"
author: "Emilie Finch"
date: "Generated on `r Sys.Date()`"
output:
html_document:
keep_md: false
toc: true
toc_float: true
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(
message = FALSE,
echo = FALSE,
warning = FALSE,
fig.width = 10,
fig.height = 7
)
```
```{r}
library(dplyr)
library(qs)
library(ggplot2)
library(here)
library(ggpubr)
library(MetBrewer)
library(sf)
library(tidyr)
library(stringr)
library(sysfonts)
library(showtext)
library(RColorBrewer)
library(tidyquant)
library(janitor)
library(cowplot)
library(Rcpp)
library(NatParksPalettes)
library(data.table)
library(patchwork)
library(scales)
library(metR)
library(data.table)
library(kableExtra)
source(here("R", "utils.R"))
source(here("R", "generate-fit_fns.R"))
source(here("R", "counterfactual_fns.R"))
plot_font <- "Open Sans"
font_add_google(plot_font)
showtext_opts(dpi = 300)
showtext_auto()
dir.create(here("figures", Sys.Date()))
output_folder <- here("figures", Sys.Date())
```
```{r methods-figures, child = "rmdchunks/methods-figures.Rmd"}
```
```{r results-figures, child = "rmdchunks/results-figures.Rmd"}
```
```{r counterfactual-results-figures, child = "rmdchunks/counterfactual-results-figures.Rmd"}
```