I used Agrepl for fuzzy matching between two sets of addresses. The documentation says that the default is:
If cost is not given, all defaults to 10%, and the other transformation number bounds default to all. The component names can be abbreviated.
However, reading this q&a with this example, that doesn't seem to match up. Here is that example:
agrepl("cold", "cool")
#> [1] FALSE
agrepl("cool", "cold")
#> [1] TRUE
From the description, I'd imagine that calculating the 10% would be having 1 change in a 10 letter word, but this is 1 in 4. How exactly is this calculated?