And another one
This commit is contained in:
		@@ -683,7 +683,7 @@ Finally, we could spot outliers in our data by examining the residuals of the mo
 | 
			
		||||
 | 
			
		||||
```{r echo = FALSE, fig.width = 3, fig.show='hold'}
 | 
			
		||||
diamond_mod <- lm(y ~ x, data = diamonds3)
 | 
			
		||||
resids <- augment(diamond_mod)
 | 
			
		||||
resids <- broom::augment(diamond_mod)
 | 
			
		||||
 | 
			
		||||
ggplot(resids) +
 | 
			
		||||
  geom_histogram(aes(x = .resid), binwidth = 0.1)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user