Update data-visualize.qmd (#1048)
Describe a negative relationship between engine size and fuel efficiency.
This commit is contained in:
parent
8f7748dcb1
commit
9a8c72c3ce
|
@ -88,7 +88,7 @@ ggplot(data = mpg) +
|
|||
```
|
||||
|
||||
The plot shows a negative relationship between engine size (`displ`) and fuel efficiency (`hwy`).
|
||||
In other words, cars with big engines use more fuel.
|
||||
In other words, cars with smaller engine sizes have higher fuel efficiency and, in general, as engine size increases, fuel efficiency decreases.
|
||||
Does this confirm or refute your hypothesis about fuel efficiency and engine size?
|
||||
|
||||
With ggplot2, you begin a plot with the function `ggplot()`.
|
||||
|
|
Loading…
Reference in New Issue