-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.R
41 lines (35 loc) · 833 Bytes
/
setup.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
38
39
40
41
############
# PACKAGES #
############
# data handling
library(tidyverse)
# visualization
library(ggforce)
library(ggpubr)
library(ggcorrplot)
library(png)
# statistics
library(lme4) # mixed models
library(agricolae) # kruskal-letters
library(effects) # model analysis/ predict effects
library(e1071) # skewness
# nice html table outputs
library(kableExtra)
library(sjPlot)
library(sjmisc)
library(sjlabelled)
##########
# LAYOUT #
##########
theme_set(
# theme_light() +
theme_bw() +
theme(#legend.position = "right",
legend.direction = "horizontal",
legend.box = "horizontal",
legend.position = "bottom",
panel.spacing.x = unit(1.3, "lines"),
strip.background=element_rect(fill="white"),
plot.caption = element_text(hjust = 0)
)
)