Author

Carolyn Koehn

This is the html output of the Quarto options we tested in class today.

Code chunk output options

Common code chunk options (all true by default):

  • include
  • eval
  • echo
  • warning
  • message

This table shows what occurs when these options are set to false.

We used the following code to test code chunk options to generate this table. We also added code chunk labels.

Code
```{r}
#| output: false
#| label: "read libraries"

library(tidyverse)
library(sf)
```

I’m getting data from this source. In literate programming, we would add more detail!

Code
cejst <- st_read("/opt/data/data/assignment01/cejst_nw.shp")
Code
```{r}
#| warning: false

ggplot(data = cejst, aes(x = AGE_10, y = AGE_MIDDLE)) +
  geom_point()
```

You can find more information on code chunk options here.

Inline code

We implemented inline code by with the formula: `, r, a single space, some code, `.

The mean proportion of children 10 and under in the Northwest is 0.1140576.

You can find more information on inline code here.

Heading Styles

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6

renders as:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Text formatting

**bold** renders as bold

_italics_ renders as italics

Lists

Bullet List

- bullet 1

- bullet 2

- another sub-bullet

- bullet 3

renders as:

  • bullet 1
    • bullet 2
      • another sub-bullet
  • bullet 3

Numbered List

1. number 1

2. number 2

renders as:

  1. number 1
  2. number 2

Commenting

To comment out text outside code chunks, use <!-- at the beginning of a comment and --> at the end.

More information about text formatting in Quarto can be found here.