Skip to content

Commit

Permalink
scatterplot is one word
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed May 26, 2023
1 parent 587cb0d commit cbb5b1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EDA.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion communication.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion data-visualize.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit cbb5b1b

Please sign in to comment.