igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] how to change x type attribute to numeric type attribute?


From: Gábor Csárdi
Subject: Re: [igraph] how to change x type attribute to numeric type attribute?
Date: Sat, 6 Dec 2014 08:48:35 -0500

Hi, we need a complete reproducible example to be able to help you.

Gabor

On Sat, Dec 6, 2014 at 6:54 AM, Fatemeh a <address@hidden> wrote:
Hi,

I was wondering how could I resolve this issue :
after using 
  graph_simplify=simplify(graph,remove.multiple = TRUE,edge.attr.comb=list(Weight="mean"))
and the type of the edge attribute weight
change from n(numeric) to x(other) and when i execute sum(E(graph)$weight) , I got zero , how should I change the x type attribute to numeric one ?

thank you in advance,

--
regards
F..A

_______________________________________________
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]