Answer Posted / Anurag Pal
In R, you can repeat a vector using the rep() function. The syntax is: `rep(x, times)`, where x is the vector to be repeated and times is the number of repetitions for each element.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers