I would like to return the count of the unique values for every column in a table. For example, if I have the table:
Testdata <- data.frame(var_1 = c(\"a
In dplyr:
dplyr
Testdata %>% summarise_all(n_distinct)