Skip to contents
library(eda)

This is a basic example which shows you how to solve a common problem:

count_classes(mtcars, cyl)
#> # A tibble: 3 × 2
#>   class count
#>   <dbl> <int>
#> 1     4    11
#> 2     6     7
#> 3     8    14