igraph-help
[Top][All Lists]
Advanced

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

[igraph] assign value to node using neighbor attributes


From: mathias kuhnt
Subject: [igraph] assign value to node using neighbor attributes
Date: Thu, 24 Jun 2010 19:35:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

Hi!

is it possible to assign in a simple way attributes to a node that depend on the attributes of all neighbors?

may be this explains what I want even if it does not work this way:

V(g)$an<-mean(V(g)[nei(???)]$a,na.rm=T)


Thanks for your help,
Mathias



reply via email to

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