# NOT RUN {
## generate ribbon-shaped data with the small number of data
X = aux.gensamples(dname="ribbon", n=50)
## 1. standard MVU
output1 <- do.mvu(X,ndim=2)
## 2. standard setting with "kpca"-type projection
output2 <- do.mvu(X,ndim=2,projtype="kpca")
## 3. standard MVU for densly connected graph
output3 <- do.mvu(X,ndim=2,type=c("proportion",0.5))
## Visualize three different projections
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,3))
plot(output1$Y, main="standard")
plot(output2$Y, main="kpca projection")
plot(output3$Y, main="densely connected graph")
par(opar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab