Learn R Programming

CEGO (version 2.4.3)

distanceStringLevenshtein: Levenshtein Distance for Strings

Description

Number of insertions, deletions and substitutions to transform one string into another

Usage

distanceStringLevenshtein(x, y)

Value

numeric distance value $$d(x,y)$$

Arguments

x

first string (class: character)

y

second string (class: character)

Examples

Run this code
distanceStringLevenshtein("ABCD","AACC")

Run the code above in your browser using DataLab