countgtone | R Documentation |
countgtone used in the base function 'apply', or 'tapply' to count the number > 1 in a vector
countgtone(invect)
invect |
vector of values |
the number of values in the vector > 1
x <- matrix(trunc(runif(20)*10),nrow=4,ncol=5)
print(x)
apply(x,1,countgtone)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.