# NOT RUN {
# Generate some sample binary 5-node network structures for N=20, then compute
# proportion at each edge
N=20
x = array(rbinom(n=5*5*N, size=1, prob=0.30), dim=c(5,5,N))
A = apply(x, c(1,2), mean)
# }
# NOT RUN {
gplotMat(A, title = "network", colMapLabel = '%', barWidth = 0.3)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab