Hi,

I am trying to fit a line in the log plot of my networks degree distribution
to show that it is a power-law distribution. I am using the following
commands. However, I am not able to see the fitted line. Any comments to
help?
I am using following packages: igraph, splines,base,VGAM, netmodels.
g is my network, d is the degree of nodes in the network, and dd is the
degree distribution

d <-degree(g)
dd <- degree.distribution(g)
fit<power.law.fit(d,20)
plot(dd,log="xy")
abline(fit)

Thanks in advance.
Regards, *Narcissus*

	[[alternative HTML version deleted]]

