Fixing typo in plot alt (#1267)

Fixing typo in plot alternative in Statistical transformations section
This commit is contained in:
David 2023-02-08 14:11:55 +01:00 committed by GitHub
parent cd6c68b5a9
commit a857e3e396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ However, there are three reasons why you might need to use a stat explicitly:
```{r}
#| fig-alt: >
#| Bar chart of proportion of each cut of diamond. Roughly, Fair
#| diamonds make up 0.03, Good 0.09, Very Good 0.22, Premium 26, and
#| diamonds make up 0.03, Good 0.09, Very Good 0.22, Premium 0.26, and
#| Ideal 0.40.
ggplot(diamonds, aes(x = cut, y = after_stat(prop), group = 1)) +