getdegdist: Fit a power law distribution to the degree distribution of...

Description Usage Arguments Value Examples

View source: R/dd.getdegdist.R

Description

Fit a power law distribution to the degree distribution of the language network.

Usage

1
getdegdist(network)

Arguments

network

The language network. Must be an igraph object.

Value

Degree distribution of network.

Examples

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

csqsiew/langnetr documentation built on May 14, 2019, 10:37 a.m.