Skip to content

Commit

Permalink
fixing the patchwork plot to fit better and fixing spacing for cheats…
Browse files Browse the repository at this point in the history
…heets and labs
  • Loading branch information
carriewright11 committed Nov 14, 2024
1 parent 1bb7cdc commit 3ffc8de
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions modules/Data_Visualization/Data_Visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,10 @@ C. `+`

## Lab 1

🏠 [Class Website](https://daseh.org/)
🏠 [Class Website](https://daseh.org/)

💻 [Lab](https://daseh.org/modules//Data_Visualization/lab/Data_Visualization_Lab.Rmd)

📃[Day 6 Cheatsheet](https://daseh.org/modules/cheatsheets/Day-6.pdf)

## theme() function:
Expand Down Expand Up @@ -958,10 +960,10 @@ Great for combining plots together

Also check out the [`patchwork` package](https://patchwork.data-imaginist.com/)

```{r, out.width= "80%", fig.align='center'}
```{r, out.width= "55%", fig.align='center'}
#install.packages("patchwork")
library(patchwork)
lots_of_lines + rp_fac_plot
lots_of_lines + er_bar
```

Expand Down Expand Up @@ -1013,12 +1015,15 @@ Check out this [guide](https://jhudatascience.org/tidyversecourse/dataviz.html#m

## Lab 2

🏠 [Class Website](https://daseh.org/)\
🏠 [Class Website](https://daseh.org/)

💻 [Lab](https://daseh.org/modules//Data_Visualization/lab/Data_Visualization_Lab.Rmd)

📃[Day 6 Cheatsheet](https://daseh.org/modules/cheatsheets/Day-6.pdf)

📃[Posit's theme cheatsheet](https://github.com/claragranell/ggplot2/blob/main/ggplot_theme_system_cheatsheet.pdf)

```{r, fig.alt="The End", out.width = "50%", echo = FALSE, fig.align='center'}
```{r, fig.alt="The End", out.width = "30%", echo = FALSE, fig.align='center'}
knitr::include_graphics(here::here("images/the-end-g23b994289_1280.jpg"))
```

Expand Down

0 comments on commit 3ffc8de

Please sign in to comment.