-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdf template.qmd
86 lines (70 loc) · 1.57 KB
/
pdf template.qmd
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
#title: "title"
#date: "`r Sys.Date()`"
format:
pdf:
number-sections: false
papersize: legal
classoption: landscape
mainfont: "Helvetica"
sansfont: "Helvetica"
monofont: "Helvetica"
geometry:
- top = 0.5in
- bottom = 0.5in
- left = 0.5in
- right = 0.5in
fig-width: 28
fig-height: 16
editor: visual
execute:
echo: false
error: false
warning: false
---
```{r}
suppressPackageStartupMessages({
suppressWarnings({
library(tidyverse)
library(forcats)
library(ggrepel)
library(gtsummary)
library(gt)
library(ggthemes)
library(DataExplorer)
library(DT)
library(kableExtra)
library(ggforce)
library(janitor)
library(wesanderson)
library(thematic)
library(hrbrthemes)
library(broman) #myround
library(showtext)
library(skimr)
library(plotly)
library(colourpicker)
if (!require(ggthemes)) install.packages("ggthemes")
if (!require(ggcorrplot)) install.packages("ggcorrplot")
if (!require(tidymodels)) install.packages("tidymodels")
})
})
#Set some basic formatting for the R notebook.
#options(width = 5000)
#options(digits = 5)
options(scipen = 999) # No scientific numbers
font_add_google("Roboto Condensed")
showtext_auto()
theme_custom = theme(
text = element_text(family = "Roboto Condensed", size = 14),
plot.title = element_text(
face = 'bold',
# colour = thematic::okabe_ito(8)[6],
color = "dark blue",
margin = margin (t=2, r=0, b = 2, l = 0, unit = "mm")
),
)
theme_set(theme_bw() + theme_custom)
```
```{r}
```