Untitled

Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

Running Code

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:

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).

data <- matrix(c(rnorm(1e4), rnorm(1e4, 1, 0.95)), ncol = 2)
n <- 1e4
x <- data[, 1]
y <- data[, 2]
y_offset <- rnorm(n, 0, 0.01)
plot(density(x), col = "darkred")
lines(density(y), col = "darkblue")