calc.c {netmodels} | R Documentation |
This function calculates the closing parameter (c) for the alpha value of the power law distribution.
calc.c(alpha)
alpha |
Alpha value of the power law distribution |
This function uses the Zeta function provided by the VGAM library
The c value for the power law distribution of a given alpha
Domingo Vargas
library(VGAM) library(igraph) data(test.net,package="netmodels") dist <- degree(test.net) alpha <- calc.alpha(dist) c <- calc.c(alpha)