Fixing typo in plot alt (#1267)
Fixing typo in plot alternative in Statistical transformations section
This commit is contained in:
parent
cd6c68b5a9
commit
a857e3e396
|
@ -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)) +
|
||||
|
|
Loading…
Reference in New Issue