Skip to content

Commit 140f27b

Browse files
Chester Ismayyutannihilation
authored andcommitted
Update extending-ggplot2.Rmd (#3114)
1 parent 863ff94 commit 140f27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/extending-ggplot2.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ StatChull <- ggproto("StatChull", Stat,
6161
)
6262
```
6363

64-
The two most important components are the `compute_group()` method (which does the computation), and the `required_aes` field, which lists which aesthetics must be present in order to for the stat to work.
64+
The two most important components are the `compute_group()` method (which does the computation), and the `required_aes` field, which lists which aesthetics must be present in order for the stat to work.
6565

6666
Next we write a layer function. Unfortunately, due to an early design mistake I called these either `stat_()` or `geom_()`. A better decision would have been to call them `layer_()` functions: that's a more accurate description because every layer involves a stat _and_ a geom.
6767

0 commit comments

Comments
 (0)