[R] Similarity matching with probabilities

From: francogrex <francogrex_at_mail.com>
Date: Fri, 27 Jun 2008 05:30:56 -0700 (PDT)

Hello,
It's just a strange coincidence that someone posted just very recently a question about matching. I know there are several match function in the base package (such as match, pmatch, charmatch, and the gsub etc) but I can't seem to use them wisely to be able to get what I need. suppose I have the following strings:
"tets"
"estt"
"rtes7"
"gstes"
"tes5t"

Is there an R procedure to determine how related each string is to the reference string "test", for example to say that "tets" is similar to "test" with a probability of 0.9 or something of that sort?

-- 
View this message in context: http://www.nabble.com/Similarity-matching-with-probabilities-tp18153826p18153826.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Fri 27 Jun 2008 - 13:03:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 Jun 2008 - 15:01:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive