# NOT RUN {
## load package required
library(flare)
## visualize the hub graph
L = sugm.generator(graph = "hub")
sugm.plot(L$theta)
## visualize the band graph
L = sugm.generator(graph = "band",g=5)
sugm.plot(L$theta)
## visualize the cluster graph
L = sugm.generator(graph = "cluster")
sugm.plot(L$theta)
# }
# NOT RUN {
#show working directory
getwd()
#plot 5 graphs and save the plots as eps files in the working directory
sugm.plot(L$theta, epsflag = TRUE, cur.num = 5)
# }
Run the code above in your browser using DataLab