Hi Peter,

On Sun, Apr 8, 2012 at 6:46 PM, Peter Flom
<[email protected]> wrote:
> 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!

Well, you can imagine that it is even harder to us, if you don't help
by sending some code that reproduces the problem. We don't know what
is 'traits50' or 'tratis$Position', etc. You don't have to send your
data set, just some toy example that reproduces the error.

Gabor

> TIA
>
> Peter
>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help



-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to