Nuacht

More count by group options There are other useful ways to group and count in R, including base R, dplyr, and data.table. Base R has the xtabs () function specifically for this task.
Counting records or values in Microsoft Excel is easy. Counting individual cells by their fill color definitely isn't. Using an old function and a matrix tames the problem.