Description Usage Arguments Value Examples
View source: R/buildExhaustive.R
Transform data in preparation for an exhaustive (i.e., brute-force) search.
1 | buildExhaustive(X, transposed = FALSE, distance = c("Euclidean", "Manhattan"))
|
X |
A numeric matrix where rows correspond to data points and columns correspond to variables (i.e., dimensions). |
transposed |
Logical scalar indicating whether |
distance |
String specifying the type of distance to use. |
An ExhaustiveIndex object containing:
data
, a numeric matrix with points in the columns and dimensions in the rows,
i.e., transposed relative to the input.
NAMES
, a character vector or NULL
equal to rownames(X)
.
distance
, a string specifying the distance metric used.
1 2 3 | Y <- matrix(rnorm(100000), ncol=20)
out <- buildExhaustive(Y)
out
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.