summary.cm: Function to calculate the degree distribution for an object...

Description Usage Arguments Value Examples

View source: R/rfuncs.R

Description

Function to calculate the degree distribution for an object of class CM

Usage

1
2
## S3 method for class 'cm'
summary(object, plot = FALSE, ...)

Arguments

object

an object of class cm

plot

if TRUE a bar plot of the degree distribution is produced

...

other arguments

Value

A plot of the contract matrix

Examples

1
2
cm=WattsStrogatz(N=20, K=4, Prw=.3)
summary(cm)

epimdr documentation built on March 26, 2020, 7:41 p.m.

Related to summary.cm in epimdr...