Google News
logo
R - Quiz(MCQ)
The ________ function creates a regular sequence of values to form a vector.
A)
Rep
B)
Seq
C)
Grep
D)
Sequel

Correct Answer :   Seq


Explanation : The rep function replicates elements of vectors. The seq function creates a regular sequence of values to form a vector. The four most frequently used types of data objects in R are vectors, matrices, data frames and lists.

Advertisement