Hi,

igraph objects are lists themselves.

G.


On Wed, Apr 24, 2013 at 6:18 AM, Umberto77 <[email protected]> wrote:

> Hello,
> I've got a litst of graphs named "mylist".
> I run
> listofegonets<-lapply(mylist, graph.neighborhood, 1, mode=c("all"))
> to get a list of egonetworks for each graph in "mylist". This result to be
> a nested list of graphs.
> I want to get a list of the size of all the egonetworks in "listofegonets"
> I run
> x<-rapply(listofegonets, vcount)
>
> but this is wat I've got:
> Error in function (graph)  : Not a graph object
>
> Where am I wrong?
>
> Thanks,
> Umberto
>
> ----
> Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
> autenticato? GRATIS solo con Email.it<http://www.email.it/cgi-bin/start?sid=3>
>
> Sponsor:
> PEC nel Registro delle Imprese entro il 30/6/2013, attivala ora e risparmi
> fino al 20%
> Clicca qui <http://adv.email.it/cgi-bin/foclick.cgi?mid=12825&d=20130424>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>


-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to