fix minor plaintext typos and links (#1082)

This commit is contained in:
Zeki Akyol
2022-09-01 14:43:57 +03:00
committed by GitHub
parent 6ce6c473cf
commit 279611af8a
22 changed files with 67 additions and 66 deletions

View File

@@ -15,7 +15,7 @@ R has several systems for making graphs, but ggplot2 is one of the most elegant
ggplot2 implements the **grammar of graphics**, a coherent system for describing and building graphs.
With ggplot2, you can do more and faster by learning one system and applying it in many places.
If you'd like to learn more about the theoretical underpinnings of ggplot2, you might enjoy reading "The Layered Grammar of Graphics", <http://vita.had.co.nz/papers/layered-grammar.pdf>, the scientific paper that discusses the theoretical underpinnings..
If you'd like to learn more about the theoretical underpinnings of ggplot2, you might enjoy reading "The Layered Grammar of Graphics", <https://vita.had.co.nz/papers/layered-grammar.pdf>, the scientific paper that discusses the theoretical underpinnings..
### Prerequisites
@@ -552,11 +552,11 @@ For instance, to make the plots above, you can use this code:
```{r}
#| eval: false
# left
# Left
ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy))
# right
# Right
ggplot(data = mpg) +
geom_smooth(mapping = aes(x = displ, y = hwy))
```
@@ -604,7 +604,7 @@ If this makes you excited, buckle up.
You will learn how to place multiple geoms in the same plot very soon.
ggplot2 provides more than 40 geoms, and extension packages provide even more (see <https://exts.ggplot2.tidyverse.org/gallery/> for a sampling).
The best way to get a comprehensive overview is the ggplot2 cheatsheet, which you can find at <http://rstudio.com/resources/cheatsheets>.
The best way to get a comprehensive overview is the ggplot2 cheatsheet, which you can find at <https://rstudio.com/resources/cheatsheets>.
To learn more about any single geom, use the help (e.g. `?geom_smooth`).
Many geoms, like `geom_smooth()`, use a single geometric object to display multiple rows of data.
@@ -931,7 +931,7 @@ However, there are three reasons why you might need to use a stat explicitly:
ggplot2 provides more than 20 stats for you to use.
Each stat is a function, so you can get help in the usual way, e.g. `?stat_bin`.
To see a complete list of stats, try the [ggplot2 cheatsheet](http://rstudio.com/resources/cheatsheets).
To see a complete list of stats, try the [ggplot2 cheatsheet](https://rstudio.com/resources/cheatsheets).
### Exercises