-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.qmd
67 lines (57 loc) · 1.34 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
output: html_document
editor_options:
chunk_output_type: console
---
```{r}
library(magrittr)
# download lua filters
download.file(
url = "https://raw.githubusercontent.com/kapsner/lua-filters/affiliations_quarto_compatibility/author-info-blocks/author-info-blocks-quarto.lua",
destfile = "author-info-blocks-quarto.lua"
)
download.file(
url = "https://raw.githubusercontent.com/kapsner/lua-filters/affiliations_quarto_compatibility/scholarly-metadata/scholarly-metadata-quarto.lua",
destfile = "scholarly-metadata-quarto.lua"
)
```
\newpage
{{< include qmd/00_abstract.qmd >}}
\newpage
{{< include qmd/01_introduction.qmd >}}
\newpage
{{< include qmd/02_methods.qmd >}}
\newpage
{{< include qmd/03_results.qmd >}}
\newpage
{{< include qmd/04_discussion.qmd >}}
\newpage
{{< include qmd/09_references.qmd >}}
\newpage
# Tables {.unnumbered}
```{r}
#| tbl-cap: "Data"
#| label: tbl-data
#| include: true
#| column: body-outset
#| echo: false
#| warning: false
iris |>
summary() |>
knitr::kable()
```
\newpage
# Figures {.unnumbered}
```{r}
#| layout-ncol: 2
#| fig-cap: "Data plots."
#| fig-subcap:
#| - "Sepal.Length vs. Sepal.Width."
#| - "Petal.Length vs. Petal.Width"
#| out.width: "98%"
#| label: fig-data
#| include: true
#| column: body-outset
plot(iris$Sepal.Length, iris$Sepal.Width)
plot(iris$Petal.Length, iris$Petal.Width)
```