1 min read

Trying out new things in R Markdown

Make a table in Rmarkdown

Column 1 left justify Column 2 centered Columne 3 right justified
A B C

Holy cow, that worked on the first try!

Pets not Livestock

Alison Horst advised us that if our figures are more like pets than livestock, we should name them!!!

Here’s my attempt to name some figures and link them throughout the document.

library(tidyverse)
## ── Attaching packages ─────────────────────────────── tidyverse 1.2.1 ──
## ✔ ggplot2 3.2.1     ✔ purrr   0.3.2
## ✔ tibble  2.1.3     ✔ dplyr   0.8.3
## ✔ tidyr   1.0.0     ✔ stringr 1.4.0
## ✔ readr   1.3.1     ✔ forcats 0.4.0
## ── Conflicts ────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
bar_graph_mtcars <- ggplot(mtcars, aes(x = drv)) + geom_bar()