From 762b8e685ee75cf2804be6c048eb41f1f2a3fd8b Mon Sep 17 00:00:00 2001 From: MJMarshall Date: Tue, 29 Mar 2016 10:32:25 +0100 Subject: [PATCH] Update iteration.Rmd correcting for/while typo --- iteration.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iteration.Rmd b/iteration.Rmd index bd7e004..f8dce4f 100644 --- a/iteration.Rmd +++ b/iteration.Rmd @@ -335,7 +335,7 @@ while (nheads < 3) { flips ``` -I mention for loops briefly, because I hardly ever use them. They're most often used for simulation, which is outside the scope of this book. However, it is good to know they exist, if you encounter a problem where the number of iterations is not known in advance. +I mention while loops briefly, because I hardly ever use them. They're most often used for simulation, which is outside the scope of this book. However, it is good to know they exist, if you encounter a problem where the number of iterations is not known in advance. ### Exercises