igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] assortivity mixed


From: Fatemeh a
Subject: Re: [igraph] assortivity mixed
Date: Tue, 20 Jan 2015 16:17:41 +0330

Tamas,Thank you so much for your help.

On Tue, Jan 20, 2015 at 12:53 PM, Tamas Nepusz <address@hidden> wrote:
Hi,

Yes, if you use -1 as a placeholder for missing attributes, igraph considers
that as a new type. How about simply taking the induced subgraph of all the
vertices for which you know the gender and then just calculating the
assortativity on that subgraph? Or, you could assign random genders to the
vertices where you don't know the gender, take 1000 realizations and then take
the average assortativity of these 1000 realizations.

> and one other question, in what condition do we get NaN ?
For instance, if your graph has no edges, you will get a NaN. You will also get
a NaN if all the types are identical.

--
T.

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



--
regards
F..A

reply via email to

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