# NOT RUN {
## generate default dataset
X <- aux.gensamples()
## try different neighborhood size
out1 <- do.lpca(X, ndim=2, type=c("proportion",0.01))
out2 <- do.lpca(X, ndim=2, type=c("proportion",0.1))
out3 <- do.lpca(X, ndim=2, type=c("proportion",0.25))
## Visualize
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,3))
plot(out1$Y, main="LPCA::1% connected")
plot(out2$Y, main="LPCA::10% connected")
plot(out3$Y, main="LPCA::25% connected")
par(opar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab