igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] get the number of nodes and edges by R codes


From: Gábor Csárdi
Subject: Re: [igraph] get the number of nodes and edges by R codes
Date: Thu, 12 Jun 2014 15:56:57 -0400

See http://igraph.org/r/doc/structure.info.html

Gabor

On Thu, Jun 12, 2014 at 3:54 PM, Qunawei Zhang <address@hidden> wrote:
> Hello:
>
> I am using the R package to do some analysis on networks. After I input the
> network (saved as "my_network"), I can see the number of nodes and edges
> just by typing "my_network"(please see below for example).
>
>>my_network
> IGRAPH UN-- 7865 24368 --
> + attr: name (v/c)
>
> But how can I get the number "7865" and "24368" by writing some R codes?
> Since I have many networks, I don't want to get the numbers manually for
> each network.
> Thanks
>
> Best
> Quanwei
>
> _______________________________________________
> 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]