Google News
logo
R - Quiz(MCQ)
_______ function returns a vector of the same size as x with the elements arranged in increasing order.
A)
orderby()
B)
sort()
C)
orderasc()
D)
sequence()

Correct Answer :   sort()


Explanation : There are other more flexible sorting facilities available like order() or sort.list() which produce a permutation to do the sorting.

Advertisement