forked from core-methods-in-edm/github-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRnotebook002.Rmd
More file actions
70 lines (38 loc) · 802 Bytes
/
Rnotebook002.Rmd
File metadata and controls
70 lines (38 loc) · 802 Bytes
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
---
title: "R Notebook"
output: html_notebook
---
---
# Source Videos
---
#https://www.youtube.com/watch?v=gCAwHbmOqCo
#https://www.youtube.com/watch?v=1QYgccXBtrI
### Load Libraries
```{r}
library(ggplot2)
```
# Plots {.tabset}
## Scatter Plot No Title
```{r}
d21 <- (iris)
ggplot(iris)
d22 <- ggplot(iris, aes(Sepal.Length, Petal.Length))
d22 + geom_point()
d23 <- ggplot(iris, aes(Sepal.Length, Petal.Length, color=Species))
d24 <- (d23 + geom_point())
print(d24)
```
## Scatter Plot with Title
```{r}
d24 + labs(title = "My Scatter Plot")
```
## Scatter Plot with Title and Axis Labels
```{r}
d24 + labs(title = "My Scatter Plot", x="Sepal Length", y="Petal Length")
```
# New Stuff {.tabset}
Talk about it
## 2nd Level Header
Idea
## New Tab Again
Idea 2