speed dist
Min. : 4.0 Min. : 2.00
1st Qu.:12.0 1st Qu.: 26.00
Median :15.0 Median : 36.00
Mean :15.4 Mean : 42.98
3rd Qu.:19.0 3rd Qu.: 56.00
Max. :25.0 Max. :120.00
Ling 201, session 02: Quarto
1 R Markdown / Quarto
This is an R Markdown / Quarto document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see https://rmarkdown.rstudio.com or, better even, https://quarto.org.
When you click the Knit/Render button, a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
But you can also refer to code like this in running text: summary(cars)
. And if you begin the inline quote with an “r” followed by a space, R will execute it and display the result when the document is rendered: 2+4=6.
2 Including Plots
2.1 Heading 2: some plot
You can also embed plots, for example:
2.2 Heading 2: some other plot
You can also embed plots, for example:
3 Useful formatting tips/options
Here are some useful formatting tips/options. Bullet lists are done like this:
- single asterisks italicize;
- dual asterisks print in bold type;
- tildes make text be subscript: optiona;
- carets make text be superscript: R2;
- this is an increased indent for the bullet list;
- we can do several of those …
- this is an increased indent for the bullet list;
This is how you include a hyperlink: STG’s website.
4 Remember: always use this at the end
R version 4.4.2 (2024-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Pop!_OS 22.04 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
time zone: America/Los_Angeles
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets compiler methods
[8] base
other attached packages:
[1] STGmisc_1.0 Rcpp_1.0.14 magrittr_2.0.3
loaded via a namespace (and not attached):
[1] digest_0.6.37 fastmap_1.2.0 xfun_0.50 knitr_1.49
[5] htmltools_0.5.8.1 rmarkdown_2.29 cli_3.6.3 rstudioapi_0.17.1
[9] tools_4.4.2 evaluate_1.0.3 yaml_2.3.10 rlang_1.1.4
[13] jsonlite_1.8.9 htmlwidgets_1.6.4 MASS_7.3-64