Description Usage Arguments Value Examples
View source: R/str_distances.R
We often want to know which string from among a set of strings is the most- similar. stringdistmatrix provides a matrix of distances between one or two vectors of strings. This function returns the minimum distance for one row (x) of the matrix.
1 | get_min_dist(mat, x)
|
mat |
A matrix of edit distances |
x |
The row number for which to find the minimum edit distance |
The minimum edit distance between the string corresponding to row x
1 2 3 4 | ## Not run:
get_min_dist(mat=amat, x=2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.