Description Usage Arguments Value Examples
generic function for exact matching single columns
1 | genericDists(dat1, dat2 = NULL, strings = FALSE)
|
dat1, dat2 |
data frames of data to match |
strings |
whether to use the edit distance rather than exact matches |
a pairwise matrix of scores from 0 (exact match) to 1 (no match)
1 2 3 4 5 | set.seed(9)
x <- data.frame(dat = sample(10, replace = TRUE))
x$let <- letters[x$dat]
genericDists(x["dat"])
genericDists(x["let"], strings = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.