1

How do you count the number of distinct values in a column named category in dplyr?

Correct Answer: n_distinct(category)

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: How do you count the number of distinct values in a column named category in dplyr? | Extra Education