Answer Posted / Ganga Singh Bisht
In R, loops are used to iterate over data and perform an operation on each element. There are two main types of loops: for() and while(). The for() loop is used when you know the number of iterations beforehand, whereas the while() loop continues until a specified condition is met.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers