Description Usage Arguments Value Author(s) Examples
Radius searching
1 2 | RadiusSearch(query, ref, radius, max_neighbour, build = "kdtree",
cores = 0, checks = 1)
|
query |
Matrix or data frame containing the set of query points where each row represents a point. |
ref |
Matrix or data frame containing the set of reference points where each row represents a point. |
radius |
Squared euclidean distance from each query point. |
max_neighbour |
Maximum number of points to look for within the radius of each query point. |
build |
String indicating the search structure to be used: "kdtree", "kmeans", "linear" |
.
cores |
Number of cpu cores to be used for searching. If 0, then the maximum allowable cores are used. |
checks |
Number of checks during searching. Higher value gives better search precision but takes longer. See FLANN C++ manual for more details. |
List containing:
indices |
List containing the index of points in the reference set that lie in the radius of each query point. |
distances |
List containing the corresponding squared distances. |
Yee, Jeremy
1 2 3 4 |
$indices
$indices[[1]]
[1] 3 4
$indices[[2]]
numeric(0)
$indices[[3]]
[1] 4 3
$indices[[4]]
numeric(0)
$indices[[5]]
numeric(0)
$distances
$distances[[1]]
[1] 0.05168248 0.26693088
$distances[[2]]
numeric(0)
$distances[[3]]
[1] 0.2999382 0.4161051
$distances[[4]]
numeric(0)
$distances[[5]]
numeric(0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.