scaleFreeFitIndex: Calculation of fitting statistics for evaluating scale free topology fit.
Description
The function scaleFreeFitIndex calculates several indices (fitting statistics) for evaluating scale free
topology fit. The input is a vector (of connectivities) k. Next k is discretized into nBreaks number of
equal-width bins. Let's denote the resulting vector dk. The relative frequency for each bin is denoted
p.dk.