-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSummary of Visby.Rmd
More file actions
81 lines (51 loc) · 1.38 KB
/
Summary of Visby.Rmd
File metadata and controls
81 lines (51 loc) · 1.38 KB
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
---
title: "Summary of what we learnt among the Rauks<br><br><br><br><br>"
output:
ioslides_presentation:
css: style.css
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## Take home things
Robust and reproducible data analysis through
- Work in projects in RStudio
- Git and GitKraken/Source Tree
- Rmarkdown
- Making functions instead of copy paste
Additional things that help with robustness and reproducibility indirectly
- Naming things clearly and consistently
- Tidyverse
## Benefits from working in projects
- No need for setwd() (or getwd())
- No need to mix up global variables between projects
NOW A DEMO!
## Git and GitHub
- Version control
- Collaborations
NOW A DEMO!
## Rmarkdown
## Making functions
- If you do something more than twice: make it into a function!
- Less error prone
- Cleaner code in actual analysis script
- Keep them short
- Make wrappers for smaller functions for bigger workflow
## Things that are good to remember
Divide and conquer
## Things that opened our minds
- ggplot
- Interactive plots and shiny apps
## Presention
This presention was done using Rmarkdown in RStudio
```{r , echo = TRUE}
sessionInfo()
```
## Slide with R Output
```{r cars, echo = TRUE}
summary(cars)
```
## Slide with Plot
```{r pressure}
plot(pressure)
```