powered by
fct_count(f, sort = FALSE)
TRUE
f
n
f <- factor(sample(letters)[rpois(1000, 10)]) table(f) fct_count(f) fct_count(f, sort = TRUE)
Run the code above in your browser using DataLab