plot.degree {netmodels}R Documentation

Plots the degree distribution of the network

Description

Plots the degree distribution of the graph, the output may be redirected to a PDF file.

Usage

plot.degree(x, main = "Degree Distribution", type = "p", xlab = "Node", ylab = "Degree", col = "blue", log= "xy", filename = NULL, ...)

Arguments

x Could be a igraph network object or the degree distribution of the network
main Title of the output graphic, default = "Degree Distribution"
type R graphic parameter for the plot style, default = "p" (points)
xlab X-Axis name, default = "Node"
ylab Y-Axis name, default = "Degree"
col Plot color, default = "blue"
log Axis log scaling, default="xy"
filename Filename of the pdf output file (optional), default = NULL
... Additional arguments used by the standard function plot

Details

Value

Note

Author(s)

Domingo Vargas

References

See Also

Generic R plot function: plot

Examples


data(test.net,package="netmodels")
plot.degree(test.net)


[Package netmodels version 0.1 Index]