-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.qmd
56 lines (35 loc) · 875 Bytes
/
index.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
---
title: "Amazing pharmaverse presentation"
author: "Ari Siggaard Knoph"
format:
revealjs:
code-link: true
background-image: ./figures/pharmaverse-bkgr.png
background-size: contain
theme: pharmaverse.scss
---
## Agenda
- Some beautiful code
- Closer look at a function
- Main points
## Code
When you click the **Render** button a presentation will be generated that includes both content and the output of embedded code. You can embed code like this:
```{r}
#| echo: true
1 + 1
```
## Closer look at code from function
This code is coming from a function in a package:
```{r filename="foo.R"}
#| echo: true
#| code-line-numbers: "|1-3|5"
foo <- \(x) {
print(x)
}
foo("Hello")
```
## Main points
> `admiral` is growing!
::: {.callout-tip}
Did you know that `admiral` has already been extended to several disease areas?
:::