Code
print("Hello world!")[1] "Hello world!"
Code
x <- 5print("Hello world!")[1] "Hello world!"
x <- 5I 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:
Item 1
Item 2
I can enter inline like to show R output, e.g., 2 or 5.
vals <- rnorm(100)
hist(vals)Here’s a cross-reference to Figure 1.
totab <- data.frame(
Species = c('Bluegill', 'Largemouth Bass', 'Crappie'),
Count = c(12, 5, 4)
)
knitr::kable(totab)| Species | Count |
|---|---|
| Bluegill | 12 |
| Largemouth Bass | 5 |
| Crappie | 4 |
Here’s a cross-reference to Table 1.
Here’s a cross-reference to Figure 2.
myfl <- readxl::read_excel('T:/04_STAFF/MARCUS/03_GIT/flafs-os-workshop/data/tidy.xlsx')
myfl <- myfl[1:6, ]
knitr::kable(myfl)| 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 |
There are many big crappie in Lake George (Huish 1954).