Description Usage Arguments Value Examples
It seems that stringdist returns NA when any strings being compared to are NA. I needed somethign else.
1 | stringdist.handle.NAs(x, y, ...)
|
x |
character vector |
y |
character vector of same length as x. |
... |
other arguments to pass to the function
|
returns the string distance between the i-th element in x and the i-th element in y and returns a vector with length=length(x) containing NAs wherever x or y was NA.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.