-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpresentation.qmd
261 lines (199 loc) · 3.22 KB
/
presentation.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
---
format:
revealjs:
navigation-mode: linear
controls-layout: edges
controls-back-arrows: visible
slide-number: true
show-slide-number: all
progress: true
theme: beige
highlight-style: github
code-link: false
code-copy: true
---
# Overview
## Page
::: {.columns .pv4}
::: {.column width="60%"}
Column
:::
::: {.column .tc .pv5 .relative width="40%"}
Column 2
:::
:::
## Step
::: {.columns .pv4}
::: {.column width="50%"}
:::{.incremental}
- 이렇게 나눠서 하려면
- [.incremental]{.b .blue}
- 로 구분
:::
:::{.nonincremental}
- [.nonincremental]{.b .blue}
- 는 미리 나와있음.
- 모든 슬라이드에 적용: YAML에 ([권장하지 않음]{.b .green})
:::
:::
::: {.column .tc .pv5 width="50%"}
:::{.fragment}
- 여러개를
- 나눠서
:::
:::{.fragment}
- 나오게 하려면
- [.fragment]{.b .blue}
:::
:::
:::
## 발표자 노트 작성 {.smaller}
- 슬라이드 내용
```
:::{.notes}
발표자 노트 내용 (S키로)
:::
```
:::{.notes}
발표자 노트 내용
:::
## 주석 {.smaller}
- 이 내용에 주석을 달고 싶으면
- 이렇게도 ^[각주내용]
- 달 수 있음 ^[각주내용2]
::: aside
이렇게 달 수 있습니다.
:::
## Code Highlight {.smaller}
::: {.columns}
::: {.column width="50%"}
- `{.r code-line-numbers='4-6'}`
```{.r code-line-numbers="4-6"}
#| eval: false
#| echo: true
iris %>%
ggplot(
aes(
x = Sepal.Length,
y = Sepal.Width,
color = Species
)
) +
geom_point() +
theme(legend.position = 'bottom')
```
:::
::: {.column width="50%"}
```{r}
library(ggplot2)
library(magrittr)
iris %>%
ggplot(
aes(
x = Sepal.Length,
y = Sepal.Width,
color = Species
)
) +
geom_point() +
theme(legend.position = 'bottom')
```
:::
:::
## Figure Width {.smaller}
::: {.columns}
```
#| fig-width: 3
```
::: {.column width="50%"}
- [fig-width: 3]{.b .blue}
```{r}
#| fig-width: 3
library(ggplot2)
library(magrittr)
iris %>%
ggplot(
aes(
x = Sepal.Length,
y = Sepal.Width,
color = Species
)
) +
geom_point() +
theme(legend.position = 'bottom')
```
:::
::: {.column width="50%"}
- [fig-width: 6]{.b .blue}
```{r}
#| fig-width: 6
library(ggplot2)
library(magrittr)
iris %>%
ggplot(
aes(
x = Sepal.Length,
y = Sepal.Width,
color = Species
)
) +
geom_point() +
theme(legend.position = 'bottom')
```
:::
:::
## Figure Height {.smaller}
::: {.columns}
```
#| fig-height: 4
```
::: {.column width="50%"}
- [fig-height: 4]{.b .blue}
```{r}
#| fig-height: 4
library(ggplot2)
library(magrittr)
iris %>%
ggplot(
aes(
x = Sepal.Length,
y = Sepal.Width,
color = Species
)
) +
geom_point() +
theme(legend.position = 'bottom')
```
:::
::: {.column width="50%"}
- [fig-height: 8]{.b .blue}
```{r}
#| fig-height: 8
library(ggplot2)
library(magrittr)
iris %>%
ggplot(
aes(
x = Sepal.Length,
y = Sepal.Width,
color = Species
)
) +
geom_point() +
theme(legend.position = 'bottom')
```
:::
:::
## Tabsets {.smaller}
::: {.panel-tabset}
### Code
```{r}
#| eval: false
#| echo: true
print(1+1)
```
### Result
```{r}
print(1+1)
```
:::