In this tutorial, we will learn how to count unique values of a variable(s) or column using dplyr’s count() function. dplyr’s count() function is a convenient function that combines grouping operation and counting the number of observation in each group. We will learn of 4 examples of using dplyr’s count() function with different arguments. First,… Continue reading dplyr count(): count unique values of a variable