Skip to content

Commit

Permalink
add footnote to ensure that alluvial layer params agree
Browse files Browse the repository at this point in the history
  • Loading branch information
corybrunson committed Jul 9, 2023
1 parent b6d4c84 commit 0b71a4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vignettes/ggalluvial.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ head(as.data.frame(UCBAdmissions), n = 12)
is_alluvia_form(as.data.frame(UCBAdmissions), axes = 1:3, silent = TRUE)
```

This format is inherited from the first release of {ggalluvial}, which modeled it after usage in {alluvial}: The user declares any number of axis variables, which `stat_alluvium()` and `stat_stratum()` recognize and process in a consistent way:
This format is inherited from the first release of {ggalluvial}, which modeled it after usage in {alluvial}: The user declares any number of axis variables, which `stat_alluvium()` and `stat_stratum()` recognize and process in a consistent way:[^width]

[^width]: Note that the spacing parameter `width` is set to the same value in each alluvial layer.

```{r alluvial plot of UC Berkeley admissions dataset}
ggplot(as.data.frame(UCBAdmissions),
Expand Down

0 comments on commit 0b71a4d

Please sign in to comment.