A for loop in R iterates over a ________ or a list of values.

  • Single value
  • Sequence
  • Vector
  • Matrix
A for loop in R iterates over a sequence of values, which can be a vector or a list. The loop variable takes on each value in the sequence for each iteration of the loop.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *