From 144382510ef0de32c1033fd7895630d035fe130a Mon Sep 17 00:00:00 2001 From: Curtis Alexander Date: Wed, 23 Mar 2016 09:41:34 -0500 Subject: [PATCH] typos --- iteration.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iteration.Rmd b/iteration.Rmd index 70583e1..ded5952 100644 --- a/iteration.Rmd +++ b/iteration.Rmd @@ -509,7 +509,7 @@ Never feel bad about using a for loop instead of a function. The map functions a ### Shortcuts -There are a few shortcuts that you can use with `.f` in order to save a little typing. Imagine you want to fit a linear model to each group in a dataset. The following toy example splits the up the `mtcars` dataset in to three pieces (one for each value of cylinder) and fits the same linear model to each piece: +There are a few shortcuts that you can use with `.f` in order to save a little typing. Imagine you want to fit a linear model to each group in a dataset. The following toy example splits up the `mtcars` dataset into three pieces (one for each value of cylinder) and fits the same linear model to each piece: ```{r} models <- mtcars %>%