powered by
Function to calculate the degree distribution for an object of class CM
# S3 method for cm summary(object, plot = FALSE, ...)
an object of class cm
if TRUE a bar plot of the degree distribution is produced
other arguments
A plot of the contract matrix
# NOT RUN { cm=WattsStrogatz(N=20, K=4, Prw=.3) summary(cm) # }
Run the code above in your browser using DataLab