Explanation:subset(data.df,select=variables,logical) get those objects from a data frame that meet a criterion.[/expand] 7. 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. All of the mentioned
Answer:A
Explanation:subset(data.df,select=variables,logical) get those objects from a data frame that meet a criterion.[/expand] 7. 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. All of the mentioned
Explanation:x[rev(order(x$B)),] sort the dataframe in reverse order.[/expand] 8. Which of the following is Mac menu command ?