Dear list - I am a bit puzzled by the behavior of agrep:
The following command finds a match: agrep("Staatssekretar im Bundeskanzleramt","Bundeskanzler",max.distance=.6) But if I _increase_ the maximum distance to .9 it fails: agrep("Staatssekretar im Bundeskanzleramt","Bundeskanzler",max.distance=.9) What am I missing? (If we use integers in max.distance the threshold is between 30 and 31) -Eduardo ______________________________________________ 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.