lcs_seq_distance | R Documentation |
Calculates the LCSseq (Longest Common Subsequence) distance between two strings.
lcs_seq_distance(s1, s2, score_cutoff = NULL)
s1 |
The first string. |
s2 |
The second string. |
score_cutoff |
Score threshold to stop calculation. Default is the maximum possible value. |
A numeric value representing the LCSseq distance.
lcs_seq_distance("kitten", "sitting")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.