Displaying 3 results from an estimated 3 matches for "netmodels".
2010 Feb 17
1
Error while installing 'netmodels'
Dear all ,
I am trying to install a package by name 'netmodels' keep
on getting the following error :
> install.packages("netmodels")
Warning in install.packages("netmodels") :
argument 'lib' is missing: using '/usr/lib64/R/library'
also installing the dependency ‘VGAM’
trying URL 'http://cran.stat.ucla.edu/s...
2010 Apr 20
1
fit a line to power law distribution
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]]
2010 Apr 20
0
Visualize a fitted line in a log plot of a power law distribution
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(d,log="xy")
abline(fit)
Thanks in advance.
Regards, *Narcissus*
[[alternative HTML version deleted]]