Hi, I need to find number of occurence of each word from one string in other string. So I need a function, which is similar to pmatch, but returns not references, but number of matches. Is there any function like this? If no, that is the way to calculate what I need?
-- View this message in context: http://r.789695.n4.nabble.com/Count-matches-in-pmatch-tp4439722p4439722.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.