@@ -23,6 +23,12 @@ editor: visual
23
23
24
24
## Packages
25
25
26
+ ``` {r}
27
+ #| label: setup
28
+ #| include: false
29
+ knitr::opts_chunk$set(fig.align = "center")
30
+ ```
31
+
26
32
``` {r}
27
33
library(ggplot2)
28
34
library(palmerpenguins) #for example dataset
@@ -335,7 +341,6 @@ penguins %>%
335
341
336
342
```
337
343
338
-
339
344
## Ribbon plots
340
345
341
346
` stat_lineribbon ` plots quantile intervals around a line automatically:
@@ -475,7 +480,6 @@ b_speciesGentoo)
475
480
head()
476
481
```
477
482
478
-
479
483
## Posterior draws rainclouds
480
484
481
485
``` {r, echo = T}
@@ -606,14 +610,9 @@ geom_edge_link()
606
610
607
611
## Takeaways
608
612
609
- - ` ggraph ` can plot many different types of network objects.
610
- - Use ` as_tbl_graph ` to convert graphs to ` ggraph ` -compatible objects.
611
- - Layouts strongly determine the appearance and interpretability of a graph.
612
-
613
-
614
-
615
-
616
-
613
+ - ` ggraph ` can plot many different types of network objects.
614
+ - Use ` as_tbl_graph ` to convert graphs to ` ggraph ` -compatible objects.
615
+ - Layouts strongly determine the appearance and interpretability of a graph.
617
616
618
617
## Extensions Resources
619
618
@@ -626,19 +625,19 @@ geom_edge_link()
626
625
- [ Cheat sheet] ( https://rstudio.github.io/cheatsheets/gganimate.pdf )
627
626
- [ Website] ( https://gganimate.com )
628
627
629
- ` ggdist `
628
+ ## Extensions Resources
630
629
631
- - [ Documentation] ( https://mjskay.github.io/ggdist/index.html )
632
- - More about [ tidybayes] ( http://mjskay.github.io/tidybayes/ )
630
+ ` ggdist `
633
631
634
- ## Extensions Resources
632
+ - [ Documentation] ( https://mjskay.github.io/ggdist/index.html )
633
+ - More about [ tidybayes] ( http://mjskay.github.io/tidybayes/ )
635
634
636
635
` ggraph `
637
636
638
- - [ ` ggraph ` documentation] ( https://ggraph.data-imaginist.com/index.html )
639
- - [ ` tidygraph ` documentation] ( https://tidygraph.data-imaginist.com/ )
640
- - [ ` igraph ` R package documentation] ( https://r.igraph.org/ )
641
- - [ ` rotl ` documentation] ( https://cran.r-project.org/web/packages/rotl/rotl.pdf )
637
+ - [ ` ggraph ` documentation] ( https://ggraph.data-imaginist.com/index.html )
638
+ - [ ` tidygraph ` documentation] ( https://tidygraph.data-imaginist.com/ )
639
+ - [ ` igraph ` R package documentation] ( https://r.igraph.org/ )
640
+ - [ ` rotl ` documentation] ( https://cran.r-project.org/web/packages/rotl/rotl.pdf )
642
641
643
642
## Getting Help
644
643
0 commit comments