Remove extraneous cache = FALSE
This commit is contained in:
		@@ -555,7 +555,7 @@ model_matrix(df, y ~ poly(x, 2))
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
However there's one major problem with using `poly()`: outside the range of the data, polynomials rapidly shoot off to positive or negative infinity. One safer alternative is to use the natural spline, `splines::ns()`.
 | 
					However there's one major problem with using `poly()`: outside the range of the data, polynomials rapidly shoot off to positive or negative infinity. One safer alternative is to use the natural spline, `splines::ns()`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```{r, cache = FALSE}
 | 
					```{r}
 | 
				
			||||||
library(splines)
 | 
					library(splines)
 | 
				
			||||||
model_matrix(df, y ~ ns(x, 2))
 | 
					model_matrix(df, y ~ ns(x, 2))
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user