From c771625b4449c3f4a649c342c88266ff3446d26b Mon Sep 17 00:00:00 2001 From: "M.Redondo" Date: Tue, 29 Oct 2024 23:23:15 +0100 Subject: [PATCH] updated loop slides --- slide_r_elements_4.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slide_r_elements_4.Rmd b/slide_r_elements_4.Rmd index 18ed66e..6c6af6b 100644 --- a/slide_r_elements_4.Rmd +++ b/slide_r_elements_4.Rmd @@ -122,7 +122,7 @@ vec -- The above can be achieved in R by means of **vectorization**. -**Vectorization** is an element-wise operation where you perform task/operation on entire vectors/matrix/data.frames. +**Vectorization** is an element-wise operation where you perform an operation on entire vectors. ```{r for.loop.avoid, echo=T} vec <- c(1:5)