internal-functions {levitate} | R Documentation |
Internal functions
Description
lev_partial_ratio()
and lev_token_set_ratio()
are hard to vectorise in one go, so in the
interests of lazy thinking these "internal" versions contain the logic to operate on
single-length inputs, and the calling functions just apply()
them as needed.
Usage
internal_lev_token_set_ratio(a, b, pairwise = TRUE, useNames = !pairwise, ...)
internal_lev_partial_ratio(a, b, pairwise = TRUE, useNames = !pairwise, ...)
Arguments
a , b |
The input strings. For these "internal" functions these must be length 1 |
pairwise |
Boolean. If |
useNames |
Boolean. Use input vectors as row and column names? |
... |
Additional arguments to be passed to |
Functions
-
internal_lev_token_set_ratio()
: Seelev_token_set_ratio()
. -
internal_lev_partial_ratio()
: Seelev_partial_ratio()
.
[Package levitate version 0.2.0 Index]