diff --git a/transform.Rmd b/transform.Rmd index e12fb89..7d98099 100644 --- a/transform.Rmd +++ b/transform.Rmd @@ -392,8 +392,7 @@ There are many functions for creating new variables that you can use with `mutat conjunction with `group_by()`, which you'll learn about shortly. ```{r} - x <- 1:10 - x + (x <- 1:10) lag(x) lead(x) ```