probably typos (#1446)
This commit is contained in:
		@@ -263,7 +263,7 @@ flights |>
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Logarithms
 | 
					### 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).
 | 
					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()`.
 | 
					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.
 | 
					`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}
 | 
					```{r}
 | 
				
			||||||
#| label: fig-mean-vs-median
 | 
					#| label: fig-mean-vs-median
 | 
				
			||||||
#| fig-cap: >
 | 
					#| 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.
 | 
					#|   delay with median instead of mean.
 | 
				
			||||||
#| fig-alt: >
 | 
					#| fig-alt: >
 | 
				
			||||||
#|   All points fall below a 45° line, meaning that the median delay is
 | 
					#|   All points fall below a 45° line, meaning that the median delay is
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user