igraph-help
[Top][All Lists]
Advanced

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

[igraph] In trouble with subgraph


From: Chang Jin Shin
Subject: [igraph] In trouble with subgraph
Date: Mon, 23 Mar 2009 07:58:19 +1000

Hi Gabor

I have in trouble in extracting subgraph.

Example:

g <- graph.ring(10)
g2 <- subgraph(g, c(2,4))

I got error message.
-------------------------------
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,




reply via email to

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