From 27f3955480a49ea67443c1c66f3015b85e015348 Mon Sep 17 00:00:00 2001 From: Colin Gillespie Date: Fri, 26 Aug 2016 16:15:43 +0100 Subject: [PATCH] Print object using brackets (save a line) (#314) --- transform.Rmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) ```