Skip to content

Commit

Permalink
Updated ggplot2
Browse files Browse the repository at this point in the history
  • Loading branch information
royfrancis committed Jun 10, 2024
1 parent c6eb99b commit 620be8d
Show file tree
Hide file tree
Showing 22 changed files with 96 additions and 37 deletions.
4 changes: 2 additions & 2 deletions _freeze/slides/ggplot/index/execute-results/html.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions docs/site_libs/quarto-html/quarto-syntax-highlighting.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
</url>
<url>
<loc>https://nbisweden.github.io/raukr-2024/slides/ggplot/index.html</loc>
<lastmod>2024-06-04T15:50:09.949Z</lastmod>
<lastmod>2024-06-10T22:54:48.921Z</lastmod>
</url>
<url>
<loc>https://nbisweden.github.io/raukr-2024/slides/index.html</loc>
Expand Down
Binary file added docs/slides/ggplot/assets/base-ggplot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/ggplot/assets/brain-power.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/ggplot/assets/ggcats-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/ggplot/assets/ggcats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/ggplot/assets/ggdogs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/ggplot/assets/pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 43 additions & 7 deletions docs/slides/ggplot/index.html

Large diffs are not rendered by default.

20 changes: 0 additions & 20 deletions docs/slides/index-listing.json

This file was deleted.

4 changes: 2 additions & 2 deletions docs/slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="7" data-listing-file-modified-sort="1708545360348" data-listing-reading-time-sort="6" data-listing-word-count-sort="1103">
<div class="g-col-1" data-index="7" data-listing-file-modified-sort="1718056104567" data-listing-reading-time-sort="6" data-listing-word-count-sort="1131">
<a href="../slides/oop/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
Expand All @@ -397,7 +397,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="8" data-listing-file-modified-sort="1717516209949" data-listing-reading-time-sort="16" data-listing-word-count-sort="3127">
<div class="g-col-1" data-index="8" data-listing-file-modified-sort="1718060088921" data-listing-reading-time-sort="16" data-listing-word-count-sort="3145">
<a href="../slides/ggplot/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
Expand Down
Binary file added slides/ggplot/assets/base-ggplot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/ggplot/assets/brain-power.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/ggplot/assets/ggcats-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/ggplot/assets/ggcats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/ggplot/assets/ggdogs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/ggplot/assets/meme-plotting-takes-long.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/ggplot/assets/pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions slides/ggplot/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ A more modern example dataset is datasaurus dozen. A set of 13 xy datasets that
Typical R plots with default settings in base R and ggplot2.
:::

##

![](assets/base-ggplot.jpg)

## ggplot2 vs Base Graphics

:::: {.columns}
Expand Down Expand Up @@ -828,6 +832,21 @@ The coordinate system defines the surface used to represent numbers. Most plots

:::

##

::: {.columns}
::: {.column}
![](assets/pie.png)
:::
::: {.column}
![](assets/brain-power.jpg)
:::
:::

##

![](assets/meme-plotting-takes-long.jpg)

## Theming

:::: {.columns}
Expand Down Expand Up @@ -1233,6 +1252,32 @@ Curated list of ggplot2 links: [/~https://github.com/erikgahner/awesome-ggplot2](h
:::
::::

## Bonus

:::: {.columns}
::: {.column .fragment width="40%"}

![](assets/ggcats.png)
[ggcats](/~https://github.com/R-CoderDotCom/ggcats)

:::
::: {.column .fragment width="60%"}

![](assets/ggcats-1.png)

:::
::::

## Bonus

::: {.fragment}

![](assets/ggdogs.png){width="80%"}

[ggdogs](/~https://github.com/R-CoderDotCom/ggdogs)

:::

## {background-image="/assets/images/cover.jpg"}

### Thank you! Questions?
Expand Down

0 comments on commit 620be8d

Please sign in to comment.