Adelie Chinstrap Gentoo
152 68 124
STAT1003 – Statistical Techniques
Dr. Emi Tanaka
Australian National University
These slides are best viewed on a modern browser like Google Chrome on a desktop or laptop. Some interactive components may require some time to fully load.
``` with the language specified after the opening backticks.label: label for the chunk (for cross-referencing)eval: whether to evaluate the code (true or false)echo: whether to show the code in the output (true or false)fig-width: width of the figure (in inches)fig-height: height of the figure (in inches)fig-cap: caption for the figureSee more options for the knitr engine at here.
python:The following languages are supported by knitr:
asis, asy, awk, bash, block, block2, bslib, c, cat, cc, coffee, comment, css, ditaa, dot, embed, eviews, exec, fortran, fortran95, gawk, glue, glue_sql, gluesql, go, groovy, haskell, highlight, js, julia, lein, mermaid, mysql, node, octave, ojs, perl, php, psql, python, r, rcpp, rscript, ruby, sas, sass, scala, scss, sed, sh, sql, stan, stata, targets, tikz, verbatim, zsh

`r some_r_code()`
The number of observations in the ChickWeight dataset is 578.
The value of \(\pi\) is 3.1415927.
engine: knitr.
STAT1003 – Statistical Techniques