# NOT RUN {
## generate twinpeaks data
X <- aux.gensamples(dname="twinpeaks",n=100)
## try different kernel bandwidths
out1 <- do.lpp(X, t=0.1)
out2 <- do.lpp(X, t=1)
out3 <- do.lpp(X, t=10)
## Visualize three different projections
par(mfrow=c(1,3))
plot(out1$Y[,1],out1$Y[,2],main="LPP::bandwidth=0.1")
plot(out2$Y[,1],out2$Y[,2],main="LPP::bandwidth=1")
plot(out3$Y[,1],out3$Y[,2],main="LPP::bandwidth=10")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab