R: Calculate embedded data.

find_coords {lle} | R Documentation

## Calculate embedded data.

### Description

Calculates the embedded data of dimension m using the weight matrix.

### Usage

    find_coords(wgts, nns, N, n, m)

### Arguments

`wgts` | weight matrix calculated by `find_weights`.
`nns` | matrix of neighbours calculated by `find_nn_k` or `find_nn_eps`.
`N` | number of samples.
`n` | dimension of the original data.
`m` | intrinsic dimension of the data.

### Value

`Y` | matrix containing the embedded data.

### Examples

    	data( lle_scurve_data )
    	X <- lle_scurve_data
    	nns <- find_nn_k(X,5)
    	wgts <- find_weights(nns,X,2)
    	Y <- find_coords( wgts$wgts, nns, dim(X)[1], 3, 2 )

[Package lle version 1.1 Index]