Examveda

What is the role of the rep() function in R?

A. Repeat elements of a vector

B. Replace missing values

C. Remove duplicate elements

D. Reverse the order of elements

Answer: Option A


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics