# NOT RUN {
## generate data
X <- aux.gensamples()
## try different neighborhood size
out1 <- do.lltsa(X, type=c("proportion",0.01))
out2 <- do.lltsa(X, type=c("proportion",0.05))
out3 <- do.lltsa(X, type=c("proportion",0.10))
## Visualize three different projections
par(mfrow=c(1,3))
plot(out1$Y[,1],out1$Y[,2],main="LLTSA::1% connected")
plot(out2$Y[,1],out2$Y[,2],main="LLTSA::5% connected")
plot(out3$Y[,1],out3$Y[,2],main="LLTSA::10% connected")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab