calc.alpha {netmodels}R Documentation

Calculates the alpha value

Description

This function calculates the alpha value for the power law distribution that best matches the degree distribution of the network.

Please note this functions is designed to work with discrete power law distributions.

Usage

calc.alpha(dist)

Arguments

dist Degree distribution of the network

Details

This functions uses the function power.law.fit of the igraph library. This function calculates the alpha value an returns a MLE class object.

Value

The alpha value is returned.

Note

Author(s)

Domingo Vargas

References

See Also

Examples


library(igraph)
data(test.net,package="netmodels")
dist <- degree(test.net)
alpha <- calc.alpha(dist)


[Package netmodels version 0.1 Index]