igraph-help
[Top][All Lists]
Advanced

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

[igraph] Extra arguments in make_graph


From: Ragia .
Subject: [igraph] Extra arguments in make_graph
Date: Thu, 29 Sep 2016 14:19:40 +0000

 Hi,

I' m trying to use the answer in


http://stackoverflow.com/questions/9705035/how-to-copy-a-vertex-with-its-respective-edges-all-in-out-from-a-directed-gra/39772710#39772710


trying to create exact copy of a graph

my graph object name is : graph 

and it works fine till I reach the contraction phase



all.vertices <- (1:vcount(graph)) - 1
es <- E(graph) #[ sampled %--% 1:n ]
el <- get.edgelist(graph)[as.vector(es)+1]

 reachabelGraph1 <- graph(el, vcount(graph), directed = TRUE)

I got he Error  "Extra arguments in make_graph"


kindly,  how can I fix this?


thanks in advance

Ragia A. Ibrahim
 
  


reply via email to

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