edit_distance: Calculates EditDistance.unit and EditDistance.load scores

View source: R/edit_distance.R

edit_distanceR Documentation

Calculates EditDistance.unit and EditDistance.load scores

Description

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

Usage

edit_distance(x, target = "MemoryTargets", recall = "Recalled")

Arguments

x

dataframe

target

the column name containing the sequence of target memory items

recall

the column name containing the sequence of recalled items


EngleLab/englelab documentation built on Sept. 9, 2024, 4:12 a.m.