From 495624aefc48d6157cbf096aa1d3af9ef41fa93d Mon Sep 17 00:00:00 2001 From: celopezg Date: Thu, 26 Jul 2018 10:58:42 -0500 Subject: [PATCH] typo --- dplyr.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dplyr.Rmd b/dplyr.Rmd index ba1ea5e..cbc3e36 100644 --- a/dplyr.Rmd +++ b/dplyr.Rmd @@ -266,7 +266,7 @@ The `group_by()` function is used to generate summary statistics from the data f The general operation here is a combination of splitting a data frame into separate pieces defined by a variable or group of variables (`group_by()`), and then applying a summary function across those subsets (`summarize()`). -First, we can create a `year` varible using `as.POSIXlt()`. +First, we can create a `year` variable using `as.POSIXlt()`. ```{r} chicago <- mutate(chicago, year = as.POSIXlt(date)$year + 1900)