From a857e3e396621be41b0e4f0893f7f1524b7475e8 Mon Sep 17 00:00:00 2001 From: David <72680874+davidrsch@users.noreply.github.com> Date: Wed, 8 Feb 2023 14:11:55 +0100 Subject: [PATCH] Fixing typo in plot alt (#1267) Fixing typo in plot alternative in Statistical transformations section --- layers.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers.qmd b/layers.qmd index 16bebc7..9008c49 100644 --- a/layers.qmd +++ b/layers.qmd @@ -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)) +