1 + 1
[1] 2
In your YAML header, you can add additional items to control the entire document:
TRY:
format: html: code-fold: true
To make the code portions “expandable/collapsable”.
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
# symbols create headers of various size (# is the largest, each additional decreases size to align with “Header 1”, “Header 2”, etc.)
* italics
** bold
*** italics + bold
~~ strikethrough
^ superscript
~ subscript
(icon from Christmas icons created by Umeicon - Flaticon)
You can change the size of this figure with: {width=10%} or {height=2in} or {height=100px} edits at the end of the image line.
The CDC reports national and regional SARS-CoV-2 levels detected in wastewater here.
Lists, tables, diagrams etc. https://quarto.org/docs/authoring/markdown-basics.html
You can embed code like this:
1 + 1
[1] 2
You can add options to executable code like this
[1] 4
The echo: false
option disables the printing of code (only output is displayed).
You can also use things like: #| label: < to make the figure able to be cross-referenced #| fig-cap: “” < to add a caption to a printed out image #| warning: false < to cause warnings to not print out
<- data.frame(x_values = c(1, 2, 3, 4, 5),
df y_values = c(2, 4, 6, 8, 10),
change_shape = c("interesting", "not", "not", "not", "not"))
library(ggplot2)
Warning: package 'ggplot2' was built under R version 4.3.2
ggplot(df, aes(x = x_values, y = y_values, shape = change_shape)) +
geom_point(size = 3) +
theme_bw() +
labs(title = "Example",
x = "",
y = "",
shape = "Interest Factor")