# R: Function to calculate the degree distribution for an object...

summary.cm {epimdr} | R 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 barplot 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)

[Package epimdr version 0.6-4 Index]