Add x and y to aes(), addresses #1159

This commit is contained in:
mine-cetinkaya-rundel
2022-12-05 03:12:12 -05:00
parent 062ab1666d
commit 42191c94e5
11 changed files with 38 additions and 38 deletions

View File

@@ -18,7 +18,7 @@ class <- mpg |> filter(class == params$my_class)
```{r}
#| message: false
ggplot(class, aes(displ, hwy)) +
ggplot(class, aes(x = displ, y = hwy)) +
geom_point() +
geom_smooth(se = FALSE)
```