igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Vertex weights?


From: Chris Watson
Subject: Re: [igraph] Vertex weights?
Date: Fri, 14 Aug 2015 17:23:39 -0400

I've only used the R package, but you can give a vertex any attribute you wish.

e.g. V(g)$weight <- habitat.area

or something like that.

On Fri, Aug 14, 2015 at 4:08 PM, Ian Thornhill <address@hidden> wrote:
Hi all,

New to this group and new to using iGraph, so apologies if this is easily answered.

Is it possible to weight the vertices / nodes such that one can analyse how flow across the graph might be impacted? For example, I'd like to use habitat area as a proxy for productivity i.e. bigger patches act as sources to the graph.

Thanks,
Ian

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



reply via email to

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