count2 | R Documentation |
uniq -c
in shell to count a vectorLike uniq -c
in shell to count a vector
count2(df)
df |
two columns: first is type, second is number |
two columns: first is type, second is number
count2(data.frame(group = c("A", "A", "B", "C", "C", "A"), value = c(2, 2, 2, 1, 3, 1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.