igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] In trouble with subgraph


From: Gábor Csárdi
Subject: Re: [igraph] In trouble with subgraph
Date: Sun, 22 Mar 2009 23:04:40 +0100

On Sun, Mar 22, 2009 at 10:58 PM, Chang Jin Shin <address@hidden> wrote:
> Hi Gabor
>
> I have in trouble in extracting subgraph.
>
> Example:
>
> g <- graph.ring(10)
> g2 <- subgraph(g, c(2,4))
>
> I got error message.

Sorry, I am very bad in mind reading. What is the error message?

G.

> -------------------------------
> G <- graph.ring(10)
> n <- neighbors(g, 3)
> G2 <- subgraph(g, n)
>
> I got error too.
> -------------------------------
>
>
> The components which I want to extract from the original network
> are not consecutive numbers. How can I do?
>
>
> With regards,
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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