Examveda

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: Option A


This Question Belongs to R Programming >> Data Visualization With Ggplot2

Join The Discussion

Related Questions on Data Visualization with ggplot2