-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ex_html.qmd
84 lines (54 loc) · 1.11 KB
/
Ex_html.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
---
title: "Overview of Forecasting Accuracy"
author: "Dries Reynders"
format:
html:
toc: true
toc-depth: 4
embed-resources: true
footnotes-hover: true
reference-location: margin
self-contained: true
execute:
warning: false
message: false
date: 2023-02-15
csl: sbr.csl
editor_options:
chunk_output_type: console
---
# Intro
This is an example Quarto document for html-output. Of course this could be rendered to pdf as well
## Subsection 1 {#sec-subs1}
Random text
### Subsubsection 1
More random text
### Subsubsection 2
Even more random text
## Subsection 2
Here, I would like to refer to @sec-subs1
# Main section
Let's get some data
```{r}
#| echo: true
data("mtcars")
```
The following chunk loads some packages (includes set to false, because loading packages often comes with a lot of unwanted output:
```{{r}}
#| include: false
library(tidyverse)
```
```{r}
#| include: false
library(tidyverse)
```
## A graph
```{r}
#| label: fig-first
#| out-width: 50%
#| fig-align: center
#| fig-cap: First graph
ggplot(mtcars, aes(hp, mpg ))+
geom_point()+
theme_bw()
```