Skip to content

Instantly share code, notes, and snippets.

@akshat3096
Created May 12, 2019
Embed
What would you like to do?
center <- factor(data$center_type)
levels(center)
fct_count(center) #counts the number of categories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment