1

In dplyr, how do you select the top 5 rows based on a variable named value in descending order?

Correct Answer: top_n(5, value)

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: In dplyr, how do you select the top 5 rows based on a variable named value in descending order? | Extra Education