# NOT RUN {
## generate sample data
X = aux.gensamples(n=200)
## use different connectivity level
out1 <- do.udp(X, type=c("proportion",0.05))
out2 <- do.udp(X, type=c("proportion",0.10))
out3 <- do.udp(X, type=c("proportion",0.25))
## visualize
par(mfrow=c(1,3))
plot(out1$Y[,1],out1$Y[,2],main="connectivity 5%")
plot(out2$Y[,1],out2$Y[,2],main="connectivity 10%")
plot(out3$Y[,1],out3$Y[,2],main="connectivity 25%")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab