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

Trang Mắm

New member
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),]
 

Tìm kiếm

Back
Top