Constant {comparator} | R Documentation |
Constant String/Sequence Comparator
Description
A trivial comparator that returns a constant for any pair of strings or sequences.
Usage
Constant(constant = 0)
Arguments
constant |
a non-negative numeric vector of length 1. Defaults to zero. |
Value
A Constant
instance is returned, which is an S4 class inheriting
from StringComparator
.
[Package comparator version 0.1.2 Index]