[Top][All Lists]

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

Re: [igraph] Removing an edge attribule

From: Gábor Csárdi
Subject: Re: [igraph] Removing an edge attribule
Date: Tue, 21 Aug 2012 14:21:28 -0400

On Tue, Aug 21, 2012 at 2:18 PM, André Salgueiro
<address@hidden> wrote:
>> remove.edge.attribute(g, "weight")
> IGRAPH D--- 12328 76830 --
> + attr: ckey (v/c), id (v/c)
>> g
> IGRAPH D-W- 12328 76830 --
> + attr: ckey (v/c), id (v/c),
>   weight (e/n)
> It removes but when i type g(my graph) the attribute is there and my
> analysis remains the same (weighted).

>From the manual page of remove.edge.attribute:

   graph: The graph object to work on. Note that the original graph is
          never modified, a new graph object is returned instead; if
          you don't assign it to a variable your modifications will be
          lost! See examples below.



Gabor Csardi <address@hidden>     MTA KFKI RMKI

reply via email to

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