Answer Posted / Arti Pandey
The 'dreaded for loop' is a common term used to refer to traditional sequential loops in R, such as the `for()` loop. Here's an example:
```
numbers <- c(1, 2, 3, 4, 5)
total <- 0
for (i in numbers) {
total <- total + i
}
print(total)
```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers