[R] How to count the number of occurence?
tj
girlme80 at yahoo.com
Sat Mar 20 08:43:03 CET 2010
Hi, may I ask for your help...
What is the R code if I want to count the number of times that "2" appeared
in the following R output
> k
[1] 1 1 1 1 1 1 3 1 2 1 1 1 1 1 1 1 1 3 2 1 1 4 1 1 1 1 1 5 1 1
Thank you for your help. :-)
--
View this message in context: http://n4.nabble.com/How-to-count-the-number-of-occurence-tp1661733p1661733.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list