1.

Which of the following sort a dataframe by the order of the elements in B?

A. x[rev(order(x$B)),]
B. x[ordersort(x$B),]
C. x[order(x$B),]
D. x[rev(x$B),]
Answer» B. x[ordersort(x$B),]


Discussion

No Comment Found