-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.qmd
168 lines (117 loc) · 2.68 KB
/
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
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
---
title: NMBU Themed Quarto Presentation
subtitle: An overview
format:
nmbu-revealjs: default
author:
- Erlend Dancke Sandorf<sup>a</sup>
- Another Authors<sup>b</sup>
- A third author<sup>b</sup>
institute:
- <sup>a</sup>The Norwegian University of Life Sciences
- <sup>b</sup>A different university
date: last-modified
---
```{r setup}
#| include: false
library(tidyverse)
```
## Introduction
*TODO* Create an example file that demonstrates the formatting and features of your format.
## More Information and very long title to see what happens when I do
You can learn more about controlling the appearance of RevealJS output here: <https://quarto.org/docs/presentations/revealjs/>
## Include an incremental list
::: incremental
- First
- Second
- Third
:::
::: notes
These are my speaker notes
:::
## Reveal additional content "on click"
Content before the click
. . .
Content after the click
## We can add an *aside* for less important information
Some very important information here
::: aside
Some additional commentary
:::
## We can add code blocks
```{r}
#| echo: true
#| eval: false
ggplot(airquality, aes(Temp, Ozone)) +
geom_point()
```
## Code block with animation {auto-animate="true"}
```{r}
#| echo: true
#| eval: false
ggplot(airquality, aes(Temp, Ozone))
```
::: notes
These are my speaker notes
:::
## Code block with animation {auto-animate="true"}
```{r}
#| echo: true
#| eval: false
ggplot(airquality, aes(Temp, Ozone)) +
geom_point()
```
## And then the output
```{r}
#| echo: false
#| eval: true
ggplot(airquality, aes(Temp, Ozone)) +
geom_point() +
theme_bw()
```
## Highlight code
```{r}
#| echo: true
#| eval: false
add <- function(x, y) {
return(
x + y
)
}
```
## Highlight code
```{r}
#| echo: true
#| eval: false
#| code-line-numbers: "2-4"
add <- function(x, y) {
return(
x + y
)
}
```
## Adding equations on a page that isn't counted {visibility="uncounted"}
$$\Pr(i_{nit}|\beta) = \frac{\exp(\beta X_{nit})}{\sum_{j=1}^{J}\exp(\beta X_{njt})}$$
. . .
where
- $\beta$ is a vector of parameters to be estimated
- $X_{nit}$ the levels of the attributes
## Slide with a quote
<div class = "blockquote">
Statistics is the grammar of science.
<p class = "right"> -- <cite>Karl Pearson</cite></p>
</div>
## Multiple columns {transition="fade" transition-speed="fast"}
::: columns
::: {.column width="40%"}
This is a column that is 40% the width of the slide.
:::
::: {.column width="60%"}
This is a wider column that is 60% the width of the slide. [^1]
:::
:::
[^1]: This has a footnote attached
## {.inverse}
<div class="final-img">
<img src="_extensions/nmbu/gfx/final-slide.png" alt="NMBU squares">
</div>