2.3 Quarto tables, figures, and stats

Open the slides in a new tab here.

Exercises

Return to the quarto document with the tables.

  1. Choose a table to label and caption, and then write a sentence that cross-references it (e.g., Table 1 shows the descriptive statistics)
  2. From that table, choose at least two statistics to pull out of the table and include in the text using inline_text().
  3. Add another statistic to the text that you calculate yourself using the nlsy data, e.g., the mean number of hours of sleep on weekends.
  4. Render the document! Make sure it renders, and then commit and push.

Use this document as a test to see if table captions work.

Resources

Additional resources for R Markdown will have a lot of overlap: