[R] Random Watts.Strogatz.game

kparamas kparamas at asu.edu
Wed Mar 23 11:22:52 CET 2011


Hi,

I have a climate data and I use it to draw a graph with N vertices.

I find the density of my graph using,
>DEN <- graph.density(g)

I want to create a random small-world graph(Watts.Strogatz.game) using
similar density.
My N=6000, DEN comes to 0.000451
So, I am using the following approach. Is my approach right??

G1 <- watts.strogatz.game(1, N, 5, DEN)

I dont know what to place in the 3rd argument. Please help me to draw the
graph.


--
View this message in context: http://r.789695.n4.nabble.com/Random-Watts-Strogatz-game-tp3399074p3399074.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list