Description Usage Arguments Value Examples
View source: R/degree.dist.plot.R
This function plots the degree distribution of a network in the form of edge list.
1 | degree.dist.plot(edgelist, type = "out", fit.line = TRUE)
|
edgelist |
The input weighted edge list. |
type |
Option that indicating whether out- or in-measures to be calculated. The default is "out". The setting is irrelevant for undirected networks, but it must be specified. |
Plot of degree distribution of the specified network.
1 2 3 4 | g <- barabasi.game(1000, directed = FALSE)
edg <- get.edgelist(g)
degree.dist(edg)
degree.dist.plot(edg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.