What is the purpose of the next statement in R loops?
a) Terminates the loop
b) Skips the current iteration and moves to the next
c) Pauses the loop
d) Repeats the current iteration
Answer:
b) Skips the current iteration and moves to the next
Explanation:
The next statement skips the current iteration of the loop and proceeds with the next one.