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

View source: R/network.R

summary.cmR Documentation

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

Description

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

Usage

## 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

cm=wattsStrogatz(N=20, K=4, Prw=.3)
summary(cm)

epimdr2 documentation built on Dec. 28, 2022, 2:23 a.m.