parent
8c03ddc730
commit
bac06d00f2
|
@ -262,7 +262,7 @@ ggplot(mpg, aes(x = displ, y = hwy)) +
|
|||
geom_smooth()
|
||||
```
|
||||
|
||||
Every geom function in ggplot2 takes a `mapping` argument, either defined locally in the geom layer or globally in the `ggoplot()` layer.
|
||||
Every geom function in ggplot2 takes a `mapping` argument, either defined locally in the geom layer or globally in the `ggplot()` layer.
|
||||
However, not every aesthetic works with every geom.
|
||||
You could set the shape of a point, but you couldn't set the "shape" of a line.
|
||||
If you try, ggplot2 will silently ignore that aesthetic mapping.
|
||||
|
|
Loading…
Reference in New Issue