igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] stochastic nature of network coordinate generation?


From: Gábor Csárdi
Subject: Re: [igraph] stochastic nature of network coordinate generation?
Date: Fri, 7 Oct 2011 12:59:34 -0400

Hi James,

see ?set.seed.

Best,
G.

On Fri, Oct 7, 2011 at 12:33 PM, James T Metz <address@hidden> wrote:
>
> Igraph Users,
>
>         I am using the following function to generate 2D coordinates for a
> network
>
>         coords <- layout.fruchterman.reingold(network, weights =
> E(network)$weight)
>
>         However, I have noted that when I call this function several times,
> I get different
> coordinates for the same input.  Hence, there seems to be some kind of
> stochastic
> or random characteristic of this function.
>
>         Is there a random number seed or some parameter that can be set so
> that the same
> output coordinates are generated for the same input every time this function
> is called?
>
>         Thank you.
>
>         Regards,
>         Jim Metz
>
>
> James T. Metz, Ph.D.
> Senior Scientist III Chemistry
>
> GPRD R4DG AP52 - 01D10P
> Abbott Laboratories
> 100 Abbott Park Road
> Abbott Park, IL  60064 - 6100
> U.S.A.
>
> Office (847) 936 - 0441
> FAX    (847) 938 - 2756
>
> address@hidden
>
> This communication may contain information that is legally privileged,
> confidential, or exempt from disclosure.  If you are not the intended
> recipient, please note that any dissemination, distribution, use, or copying
> of this communication is strictly prohibited.  Anyone who receives this
> message in error should notify the sender immediately by telephone (847 -
> 936 - 0441) or return email and delete it from his or her computer.
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

[Prev in Thread] Current Thread [Next in Thread]