Vidyalelo
R Programming · Q37

Data Visualization with ggplot2

Programming · R Programming · question 37

Q37

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

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

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board