1.

The ________ function creates a regular sequence of values to form a vector.(a) sequel(b) Rep(c) seq(d) Grep

Answer» The correct choice is (c) seq

The best I can explain: 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.


Discussion

No Comment Found

Related InterviewSolutions