[Top][All Lists]

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

Re: [igraph] how to combine subgraphs with attributes

From: MATSUDA, Noriyuki
Subject: Re: [igraph] how to combine subgraphs with attributes
Date: Wed, 4 Jul 2007 18:27:46 +0900

Hello Gabor:

   Thanks a lot, again.  Presently, I use your quick method.
At 1:37 PM +0200 07.7.3, Gabor Csardi wrote:
On Tue, Jul 03, 2007 at 06:17:57PM +0900, MATSUDA, Noriyuki wrote:
 Hi Garbar:

   Thank you for the prompt rescue.

 At 11:00 AM +0200 07.7.3, Gabor Csardi wrote:
 >  if (unique(sapply(graphs, is.directed))) {
 >     stop("You can't mix directed and undirected graphs")
 >  }

Hmmm, a mistake here, this should be

if (length(unique(sapply(graphs, is.directed)))==2) {

Hopefully otherwise it is ok.

Csardi Gabor <address@hidden>    MTA RMKI, ELTE TTK

igraph-help mailing list


Prof. MATSUDA, Noriyuki, Ph.D.  Univ. of Tsukuba
Grad. Sch. of Sys. & Info. Eng.  Dept. of Social Systems & Management
 (In Kanji ) 松 田 紀 之,筑波大学大学院教授
システム情報工学研究科 社会システム・マネジメント専攻

reply via email to

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