countgtOne | R Documentation |
countgtOne used in apply to count the number > 1 in a vector
countgtOne(invect)
invect |
vector of values |
A single value of zero or the number of NAs
## Not run:
set.seed(12346)
x <- trunc(runif(10)*10)
x
countgtone(x) # should be 7
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.