| qwerty_distance | R Documentation |
Uses Euclidean distance based on key positions.
qwerty_distance(key1, key2)
key1 |
Character. First key (single lowercase letter) |
key2 |
Character. Second key (single lowercase letter) |
Numeric distance
qwerty_distance("a", "s") # Adjacent = 1
qwerty_distance("a", "p") # Far apart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.