Description Usage Arguments Value
Calculates a q-gram distance https://journal.r-project.org/archive/2014-1/loo.pdf between two vectors of integers.
1 |
x |
a vector of single (<10 if q>1) integers |
y |
a vector of single (<10 if q>1) integers |
q |
an integer, q in q-gram distance |
an integer value - q-gram distance, Inf if q is larger then a vector's length
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.