[R] matching strings in a list
tryingtolearn
inshique at ymail.com
Thu Jul 16 19:40:53 CEST 2015
Say I have a list:
[[1]] "I like google"
[[2]] "Hi Google google"
[[3]] "what's up"
and they are tweets. And I want to find out how many tweets mention google
(the answer should be 2).
If I string split and unlist them, then I would get the answer of 3. How do
I make sure I get just 2?
--
View this message in context: http://r.789695.n4.nabble.com/matching-strings-in-a-list-tp4709967.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list