igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] how to combine subgraphs with attributes


From: Gabor Csardi
Subject: Re: [igraph] how to combine subgraphs with attributes
Date: Tue, 3 Jul 2007 13:37:03 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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.

Gabor

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




reply via email to

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