# NOT RUN {
## generate swiss-roll dataset of size 200
X <- aux.gensamples(dname="crown",n=200)
## try different nbd size
out1 <- do.dve(X, type=c("proportion",0.4))
out2 <- do.dve(X, type=c("proportion",0.6))
out3 <- do.dve(X, type=c("proportion",0.8))
## Visualize
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,3))
plot(out1$Y, main="DVE::20% connected")
plot(out2$Y, main="DVE::50% connected")
plot(out3$Y, main="DVE::80% connected")
par(opar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab