# NOT RUN {
## generate samples
X <- aux.gensamples(n=123)
## compare LEA with LLE and another approximation NPE
out1 <- do.lle(X, ndim=2)
out2 <- do.npe(X, ndim=2)
out3 <- do.lea(X, ndim=2)
## visual comparison
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,3))
plot(out1$Y, main="LLE")
plot(out2$Y, main="NPE")
plot(out3$Y, main="LEA")
par(opar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab