igraph-help
[Top][All Lists]
Advanced

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

[igraph] Question on subgraph and subset


From: Peter Flom
Subject: [igraph] Question on subgraph and subset
Date: Sun, 8 Apr 2012 18:46:39 -0400

Hi again

I am working on plotting characteristics of neighbors of nodes against
characteristics of the nodes themselves 

As part of this, I am using subgraph and subset, but getting different
numbers of nodes.

Code:
vs <- subcomponent
component <- subgraph(g50, vs)
traitscomponent <- subset(traits50, traits$Position %in% vs)

After which traitscomponent has 37879 rows while vs has length 37880.

I can't figure out what happened!

TIA

Peter




reply via email to

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