2025-06-16
Commit and pushes changes to AE
TEAMMATES peer evaluation will open today at noon and close Wednesday at 11:59pm
Today
Tips to help make project beautiful
Work on project
Review one other team’s project
echo
, warning
, eval
, fig-width
, and fig-asp
code chunk options using the following code:To set code chunk options:
#| option: value
– The spaces must be included! Without first space it’s just a comment.
Must be at the top of the code chunk or within the YAML at the top of the document (to include the same option for all code chunks)
Try the various options, render the document, and see what happens
echo: Includes the code chunk in the ouptut.
We want this for labs to show our work. We do NOT want this for the project
To include this for the main project file (index.qmd), within yaml at top of document, change echo: true
to echo: false
. Then echo
is set to false
for ALL code chunks
eval: Evaluates, or runs, the code.
Can be helpful if you are unable to fix an error before the deadline.
fig-width: controls figure width (is a value between 1 and 10)
fig-width: 1
on the left, fig-width: 4
on the right
fig-asp: controls figure aspect ratio (is a value between 0 and 1)
fig-asp: 0.1
on the left, fig-asp: 0.5
in the middle, fig-asp: 1
on the right
kable
(uses knitr library)