R/edit_distance.R
edit_distance.Rd
The Damerau-Levenshtein distance is implemented in the stringdist package: van der Loo, M. P. J. (2014). The stringdist package for approximate string matching. R Journal, 6(1), 111-122. doi:10.32614/RJ-2014-011
edit_distance(x, target = "MemoryTargets", recall = "Recalled")
dataframe
the column name containing the sequence of target memory items
the column name containing the sequence of recalled items