probably typos (#1446)

This commit is contained in:
Mitsuo Shiota 2023-04-25 21:36:14 +09:00 committed by GitHub
parent 7161152473
commit da0b940317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ flights |>
### Logarithms
Logarithms are an incredibly useful transformation for dealing with data that ranges across multiple orders of magnitude and convert exponential growth to linear growth.
Logarithms are an incredibly useful transformation for dealing with data that ranges across multiple orders of magnitude and converting exponential growth to linear growth.
In R, you have a choice of three logarithms: `log()` (the natural log, base e), `log2()` (base 2), and `log10()` (base 10).
We recommend using `log2()` or `log10()`.
`log2()` is easy to interpret because a difference of 1 on the log scale corresponds to doubling on the original scale and a difference of -1 corresponds to halving; whereas `log10()` is easy to back-transform because (e.g.) 3 is 10\^3 = 1000.
@ -585,7 +585,7 @@ The median delay is always smaller than the mean delay because flights sometimes
```{r}
#| label: fig-mean-vs-median
#| fig-cap: >
#| A scatterplot showing the differences of summarizing hourly depature
#| A scatterplot showing the differences of summarizing daily depature
#| delay with median instead of mean.
#| fig-alt: >
#| All points fall below a 45° line, meaning that the median delay is