Description Usage Arguments Value Examples
View source: R/dd.getdegdist.R
Fit a power law distribution to the degree distribution of the language network.
1 | getdegdist(network)
|
network |
The language network. Must be an igraph object. |
Degree distribution of network.
1 2 3 4 | network <- watts.strogatz.game(1, 5000, 1, 0.35, loops = FALSE, multiple = FALSE) # a fake network
distribution <- getdegdist(network)
fitpl(distribution) # fit a power law to the distribution
fitln(distribution) # fit a log normal distribution instead
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.