[R] Count matches of a sequence in a vector?

Jeff Brown dopethatwantscash at yahoo.com
Wed Apr 21 17:40:05 CEST 2010


One option might be to turn the sequence into a character string, and then
use something like grep().  Kind of a kludge, but possibly easy.
-- 
View this message in context: http://n4.nabble.com/Count-matches-of-a-sequence-in-a-vector-tp2019018p2019161.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list