-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprep.Rmd
More file actions
56 lines (37 loc) · 1.3 KB
/
Copy pathprep.Rmd
File metadata and controls
56 lines (37 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
Dear Participants,
We are so excited that you will be joining our tutorial "Graphing multivariate categorical data: The how, what and why of mosaic plots and alluvial diagrams" on Wednesday, July 7 from 7:45pm-10:15pm UTC.
In order to get the most out of the workshop, please install the following or update to the latest version in advance.
**ggalluvial** (0.12.3)
**RColorBrewer** (1.1-2)
**scales** (1.1.1)
**tidyverse** (1.3.0)
**vcd** (1.4-8)
Next please run the following code examples to make sure the above packages are working. The graphs shown below should appear.
```{r, fig.width=5, fig.height=3}
library(vcd)
mosaic(Titanic)
mosaic(HairEyeColor)
```
```{r, fig.width=5, fig.height=3}
library(tidyverse)
library(ggalluvial)
ggplot(as.data.frame(Titanic),
aes(y = Freq,
axis1 = Class, axis2 = Sex, axis3 = Age,
fill = Survived)) +
geom_alluvium() +
scale_x_discrete(limits = c("Class", "Sex", "Age"))
```
Tutorial materials will be added soon to: https://github.com/jtr13/graphcat
Don't hesitate to contact us in advance if you have any questions:
Joyce Robbins [email protected]
Ludmila Janda [email protected]
Enjoy the conference!
best,
Joyce and Ludmila