Merge pull request #83 from MJMarshall/patch-2

Update iteration.Rmd
This commit is contained in:
Hadley Wickham 2016-03-29 06:50:13 -07:00
commit 656a883a24
1 changed files with 1 additions and 1 deletions

View File

@ -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