Hello World - Hello Quarto

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
y <- c(1,3,5)
z <- c(4,5,2)

y + z
[1] 5 8 7

You can add options to executable code like this

[1] 4

The echo: false option disables the printing of code (only output is displayed).

library(babynames)

babynames
# A tibble: 1,924,665 × 5
    year sex   name          n   prop
   <dbl> <chr> <chr>     <int>  <dbl>
 1  1880 F     Mary       7065 0.0724
 2  1880 F     Anna       2604 0.0267
 3  1880 F     Emma       2003 0.0205
 4  1880 F     Elizabeth  1939 0.0199
 5  1880 F     Minnie     1746 0.0179
 6  1880 F     Margaret   1578 0.0162
 7  1880 F     Ida        1472 0.0151
 8  1880 F     Alice      1414 0.0145
 9  1880 F     Bertha     1320 0.0135
10  1880 F     Sarah      1288 0.0132
# ℹ 1,924,655 more rows
library(tidyverse)
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.2.0     ✔ readr     2.1.6
✔ forcats   1.0.1     ✔ stringr   1.6.0
✔ ggplot2   4.0.1     ✔ tibble    3.3.0
✔ lubridate 1.9.4     ✔ tidyr     1.3.1
✔ purrr     1.2.0     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
babynames |>
  filter(name == "Gina")
# A tibble: 161 × 5
    year sex   name      n      prop
   <dbl> <chr> <chr> <int>     <dbl>
 1  1880 F     Gina      7 0.0000717
 2  1883 F     Gina      9 0.0000750
 3  1885 F     Gina     10 0.0000704
 4  1886 F     Gina      5 0.0000325
 5  1887 F     Gina      7 0.0000450
 6  1888 F     Gina      7 0.0000369
 7  1890 F     Gina     13 0.0000645
 8  1891 F     Gina      6 0.0000305
 9  1892 F     Gina     11 0.0000489
10  1893 F     Gina     10 0.0000444
# ℹ 151 more rows