'plce' corrected to 'place'
This commit is contained in:
parent
e856f927ca
commit
759a767ab5
|
@ -156,7 +156,7 @@ ggplot(data = mpg) +
|
||||||
geom_point(mapping = aes(x = displ, y = hwy), color = "blue")
|
geom_point(mapping = aes(x = displ, y = hwy), color = "blue")
|
||||||
```
|
```
|
||||||
|
|
||||||
Here, the color doesn't convey information about a variable. It only changes the appearance of the plot. To set an aesthetic manually, do not plce it in the `aes()` function. Call the aesthetic by name as an argument of your geom function. Then pass the aesthetic a value that R will recognize, such as
|
Here, the color doesn't convey information about a variable. It only changes the appearance of the plot. To set an aesthetic manually, do not place it in the `aes()` function. Call the aesthetic by name as an argument of your geom function. Then pass the aesthetic a value that R will recognize, such as
|
||||||
|
|
||||||
* the name of a color as a character string
|
* the name of a color as a character string
|
||||||
* the size of a point as a cex expansion factor (see `?par`)
|
* the size of a point as a cex expansion factor (see `?par`)
|
||||||
|
|
Loading…
Reference in New Issue