count | R Documentation |
count
Count the frequency of numbers
count
count(x, n = NULL)
x |
target value |
n |
specific frequency |
count of specific frequency
x=c(round(rnorm(100, 2)+1), 0,0)
count(x)
count(x, sum(x==0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.