calc.c {netmodels}R Documentation

Calculates de c value of the power law distribution

Description

This function calculates the closing parameter (c) for the alpha value of the power law distribution.

Usage

calc.c(alpha)

Arguments

alpha Alpha value of the power law distribution

Details

This function uses the Zeta function provided by the VGAM library

Value

The c value for the power law distribution of a given alpha

Author(s)

Domingo Vargas

Examples


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

c <- calc.c(alpha)


[Package netmodels version 0.2 Index]