scatterplot is one word

This commit is contained in:
mine-cetinkaya-rundel 2023-05-26 11:25:15 -04:00
parent 587cb0d51d
commit cbb5b1b01f
3 changed files with 3 additions and 3 deletions

View File

@ -669,7 +669,7 @@ Then, we exponentiate the residuals to put them back in the scale of raw prices.
#| message: false
#| dev: "png"
#| fig-alt: >
#| A scatter plot of residuals vs. carat of diamonds. The x-axis ranges from 0
#| A scatterplot of residuals vs. carat of diamonds. The x-axis ranges from 0
#| to 5, the y-axis ranges from 0 to almost 4. Much of the data are clustered
#| around low values of carat and residuals. There is a clear, curved pattern
#| showing decrease in residuals as carat increases.

View File

@ -987,7 +987,7 @@ We have turned off the legends on the box plots and the scatterplot and collecte
Note the use of the `&` operator here instead of the usual `+`.
This is because we're modifying the theme for the patchwork plot as opposed to the individual ggplots.
The legend is placed on top, inside the `guide_area()`.
Finally, we have also customized the heights of the various components of our patchwork -- the guide has a height of 1, the box plots 3, density plots 2, and the faceted scatter plot 4.
Finally, we have also customized the heights of the various components of our patchwork -- the guide has a height of 1, the box plots 3, density plots 2, and the faceted scatterplot 4.
Patchwork divides up the area you have allotted for your plot using this scale and places the components accordingly.
```{r}

View File

@ -215,7 +215,7 @@ ggplot(
geom_point()
```
Now we have something that looks like what we might think of as a "scatter plot".
Now we have something that looks like what we might think of as a "scatterplot".
It doesn't yet match our "ultimate goal" plot, but using this plot we can start answering the question that motivated our exploration: "What does the relationship between flipper length and body mass look like?" The relationship appears to be positive (as flipper length increases, so does body mass), fairly linear (the points are clustered around a line instead of a curve), and moderately strong (there isn't too much scatter around such a line).
Penguins with longer flippers are generally larger in terms of their body mass.