- x
a data matrix, a dist object or a kNN object.
- k
number of neighbors to consider to calculate the shared nearest
neighbors.
- kt
minimum threshold on the number of shared nearest neighbors to
build the shared nearest neighbor graph. Edges are only preserved if
kt
or more neighbors are shared.
- jp
use the definition by Javis and Patrick (1973), where shared
neighbors are only counted between points that are in each other's
neighborhood, otherwise 0 is returned. If FALSE
, then the number of shared
neighbors is returned, even if the points are not neighbors.
- sort
sort by the number of shared nearest neighbors? Note that this
is expensive and sort = FALSE
is much faster. sNN objects can be
sorted using sort()
.
- search
nearest neighbor search strategy (one of "kdtree"
, "linear"
or
"dist"
).
- bucketSize
max size of the kd-tree leafs.
- splitRule
rule to split the kd-tree. One of "STD"
, "MIDPT"
, "FAIR"
,
"SL_MIDPT"
, "SL_FAIR"
or "SUGGEST"
(SL stands for sliding). "SUGGEST"
uses
ANNs best guess.
- approx
use approximate nearest neighbors. All NN up to a distance of
a factor of (1 + approx) eps
may be used. Some actual NN may be omitted
leading to spurious clusters and noise points. However, the algorithm will
enjoy a significant speedup.
- decreasing
logical; sort in decreasing order?
- ...
additional parameters are passed on.