# NOT RUN {
## generate sample data
X <- aux.gensamples(n=200)
## weighted versus binary graph construction
out1 <- do.crda(X,weight=TRUE)
out2 <- do.crda(X,weight=FALSE)
## visualize
par(mfrow=c(1,2))
plot(out1$Y[,1],out1$Y[,2],main="weighted graph")
plot(out2$Y[,1],out2$Y[,2],main="binarized graph")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab