color -> size (#1096)
This commit is contained in:
parent
3e88bddda3
commit
24caeb51e8
|
@ -221,7 +221,7 @@ We get a *warning* here: mapping an unordered variable (`class`) to an ordered a
|
|||
#| Scatterplot of highway fuel efficiency versus engine size of cars that
|
||||
#| shows a negative association. The points representing each car are sized
|
||||
#| according to the class of the car. The legend on the right of the plot
|
||||
#| shows the mapping between colors and levels of the class variable -- going
|
||||
#| shows the mapping between sizes and levels of the class variable -- going
|
||||
#| from small to large: 2seater, compact, midsize, minivan, pickup, or suv.
|
||||
|
||||
ggplot(data = mpg) +
|
||||
|
|
Loading…
Reference in New Issue