Quarto Practice

Author

Marcus Beck

1 Intro to Quarto

Code
print("Hello world!")
[1] "Hello world!"
Code
x <- 5

I can write anything I want right here. Here’s some bold text. The text will already be formatted if you’re using the visual editor.

I can also make lists:

  1. Item 1

  2. Item 2

I can enter inline like to show R output, e.g., 2 or 5.

Code
vals <- rnorm(100)
hist(vals)

Figure 1: Here’s my awesome histogram

1.1 Some more sections

Here’s a cross-reference to Figure 1.

Code
totab <- data.frame(
  Species = c('Bluegill', 'Largemouth Bass', 'Crappie'), 
  Count = c(12, 5, 4)
)
knitr::kable(totab)
Table 1: Here’s my awesome table
Species Count
Bluegill 12
Largemouth Bass 5
Crappie 4

Here’s a cross-reference to Table 1.

Figure 2: A beautiful black crappie.

Here’s a cross-reference to Figure 2.

Code
myfl <- readxl::read_excel('T:/04_STAFF/MARCUS/03_GIT/flafs-os-workshop/data/tidy.xlsx')
myfl <- myfl[1:6, ]
knitr::kable(myfl)
Table 2: Importing an external table
Location Habitat Year Acres Category
Clear Bay Seagrass 2019 519 B
Clear Bay Oysters 2019 390 B
Clear Bay Sand 2019 742 C
Fish Bay Seagrass 2019 930 B
Fish Bay Oysters 2019 680 A
Fish Bay Sand 2019 611 A

1.2 Citations and References

There are many big crappie in Lake George (Huish 1954).

References

Huish, Melvin T. 1954. “Life History of the Black Crappie of Lake George, Florida.” Transactions of the American Fisheries Society 83 (1): 176–93. https://doi.org/10.1577/1548-8659(1953)83[176:lhotbc]2.0.co;2.