- 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
In regular sNN graphs, two points that are not neighbors
can have shared neighbors.
Javis and Patrick (1973) requires the two points to be neighbors, otherwise
the count is zeroed out. TRUE
uses this behavior.
- 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.