Skip to content

Commit 6d69b23

Browse files
committed
2 parents 27c372d + 74c7d7b commit 6d69b23

30 files changed

Lines changed: 7752 additions & 3 deletions
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: "Callout boxes"
3+
format: html
4+
---
5+
6+
::: callout-note
7+
Note that there are five types of callouts, including: `note`, `warning`, `important`, `tip`, and `caution`.
8+
:::
9+
10+
::: callout-tip
11+
This should be an example of a callout with a caption. So add a caption!
12+
:::
13+
14+
::: callout-caution
15+
## Expand To Learn About Collapse
16+
17+
This should be an example of a "folded" caution callout that can be expanded by the user. You can use `collapse="true"` to collapse it by default or `collapse="false"` to make a collapsible callout that is expanded by default. Try adding these to attributes.
18+
:::
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: "Hello, Penguins!"
3+
format: html
4+
editor: visual
5+
---
6+
7+
## Data
8+
9+
For this analysis we'll use the penguins dataset from the palmerpenguins package.
10+
11+
```{r}
12+
#| label: load-packages
13+
#| message: false
14+
15+
library(tidyverse)
16+
library(ggthemes)
17+
library(palmerpenguins)
18+
library(gt)
19+
```
20+
21+
## Species
22+
23+
The figure below is a bar plot of species of penguins.
24+
25+
```{r}
26+
#| label: bill-dims-species
27+
#| warning: false
28+
#| fig-width: 5
29+
#| fig-asp: 0.618
30+
31+
ggplot(
32+
penguins,
33+
aes(
34+
x = bill_length_mm, y = bill_depth_mm,
35+
color = species, shape = species
36+
)
37+
) +
38+
geom_point() +
39+
scale_color_colorblind() +
40+
labs(x = "Bill length (mm)", y = "Bill depth (mm)") +
41+
theme_minimal()
42+
```
43+
44+
## Penguins
45+
46+
The table below shows the first 10 penguins from the dataset.
47+
48+
```{r}
49+
#| label: penguins-top10
50+
51+
penguins |>
52+
slice_head(n = 10) |>
53+
select(species, island, bill_length_mm, bill_depth_mm) |>
54+
gt()
55+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Markdown syntax"
3+
format: html
4+
---
5+
6+
1. Add a title and author to the YAML header. Add a table of contents as well.
7+
8+
2. Add two major sections with level two headers. Add a subsection to one of your major sections.
9+
10+
3. Add an image link to a web image you have chosen and a local image.
11+
12+
4. Use any markdown syntax that you can recall from the slides or refresh your memory from <https://quarto.org/docs/authoring/markdown-basics.html>.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: "Untitled"
3+
format: html
4+
editor: visual
5+
---
6+
7+
## Quarto
8+
9+
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see <https://quarto.org>.
10+
11+
## Running Code
12+
13+
When you click the **Render** button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
14+
15+
```{r}
16+
1 + 1
17+
```
18+
19+
You can add options to executable code like this
20+
21+
```{r}
22+
#| echo: false
23+
2 * 2
24+
```
25+
26+
The `echo: false` option disables the printing of code (only output is displayed).
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Tables and figures"
3+
format: html
4+
---
5+
6+
1. Create a 3 row x 2 col table, populate with a column for restaurant + column for cuisine, and then add 3 examples. Then, cross reference it from text.
7+
8+
2. Include the R logo and the Quarto logo from the `images/` folder as subfigures of a single figure.
9+
10+
3. Add a figure generated from code and cross reference it.

AEET_2025/images/blue-penguin.png

187 KB
Loading
169 KB
Loading
1.03 MB
Loading
88 KB
Loading

AEET_2025/images/programmer.jpeg

10.8 KB
Loading

0 commit comments

Comments
 (0)