/
index.qmd
48 lines (32 loc) · 812 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
---
title: "Internal link"
format: html
editor: visual
---
This document shows how to create an **internal link** in a Quarto report. In the **4th section** of the doc, you will find a link that leads to the **second section**.
# Load packages
Let's load some packages
```{r message=FALSE}
library(tidyverse)
```
# Data wrangling {#section-2}
Let's do some data wrangling.
Again and again.
It usually takes most of the project time!
# Create a chart
The fun part!
```{r}
mpg %>%
ggplot( aes(x=reorder(class, hwy), y=hwy, fill=class)) +
geom_boxplot() +
xlab("class") +
theme(legend.position="none")
```
And a scatterplot!
```{r}
mpg %>%
ggplot(aes(x = fl, y = hwy, fill = class)) +
geom_point()
```
# Conclusion
Here is the link to the [section 2](#section-2) of the document!