Description Usage Arguments Details Value See Also Examples
Finds the nearest points for every point in an environment with radius eps
.
1 | find_nn_eps(X, eps)
|
X |
matrix object containing the input data. |
eps |
size of epsilon environment around x_i. |
A good value for eps
strongly depends on the scaling of the data. Therefore we recommend to use the R
function scale
.
neighbours |
matrix with N rows and columns. If distance between x_i and x_i is smaller than |
1 2 3 4 | data( lle_scurve_data )
X <- lle_scurve_data
neighbours <- find_nn_eps( X, 0.5 )
table( rowSums(neighbours) )
|
Loading required package: scatterplot3d
Loading required package: MASS
Loading required package: snowfall
Loading required package: snow
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1 1 5 8 15 32 43 56 79 71 90 83 76 73 50 30 29 22 9 11 6 7 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.