From 323a84bd45b036c4b00f1a7c7995f8f0465dfbf8 Mon Sep 17 00:00:00 2001 From: Zhuoer Dong Date: Mon, 19 Nov 2018 21:35:12 +0800 Subject: [PATCH] typo in iteration.Rmd (#730) --- iteration.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iteration.Rmd b/iteration.Rmd index 7561624..018f368 100644 --- a/iteration.Rmd +++ b/iteration.Rmd @@ -953,10 +953,10 @@ x %>% accumulate(`+`) 1. Implement your own version of `every()` using a for loop. Compare it with `purrr::every()`. What does purrr's version do that your version doesn't? -1. Create an enhanced `col_sum()` that applies a summary function to every +1. Create an enhanced `col_summary()` that applies a summary function to every numeric column in a data frame. -1. A possible base R equivalent of `col_sum()` is: +1. A possible base R equivalent of `col_summary()` is: ```{r} col_sum3 <- function(df, f) {