# NOT RUN {
## generate data
set.seed(100)
X <- aux.gensamples(dname="cswiss",n=100)
## 1. use 10%-connected graph
output1 <- do.ltsa(X,ndim=2)
## 2. use 25%-connected graph
output2 <- do.ltsa(X,ndim=2,type=c("proportion",0.25))
## 3. use 50%-connected graph
output3 <- do.ltsa(X,ndim=2,type=c("proportion",0.50))
## Visualize three different projections
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,3))
plot(output1$Y, main="10%")
plot(output2$Y, main="25%")
plot(output3$Y, main="50%")
par(opar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab