Vidyalelo
R Programming · Q20

Introduction to R Programming

Programming · R Programming · question 20

Q20

In R, what is the purpose of the rep() function?

A.
Repeat elements of a vector or a sequence
Answer
B.
Replace elements in a vector
C.
Resize a data frame
D.
Represent a sequence

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board