[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] key players in networks
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] key players in networks |
Date: |
Wed, 19 Sep 2007 20:13:14 +0200 |
Dear Simone,
> Is there a function like isolates() that retrive a list of isolates
> nodes so that I can pass it to delete.vertices()?
No, there is no isolates(), but it is easy to achieve using degree():
isolates <- seq(vcount(g))[degree(g) == 0]
This gives you the indices of the isolated vertices. At least I hope
so, I'm not an expert in R :)
--
Tamas
- [igraph] key players in networks, Simone Gabbriellini, 2007/09/11
- Re: [igraph] key players in networks, Gabor Csardi, 2007/09/13
- Re: [igraph] key players in networks, Gabor Csardi, 2007/09/13
- Re: [igraph] key players in networks, Simone Gabbriellini, 2007/09/16
- Re: [igraph] key players in networks, Simone Gabbriellini, 2007/09/19
- Re: [igraph] key players in networks,
Tamas Nepusz <=
- Re: [igraph] key players in networks, Gabor Csardi, 2007/09/20
- [igraph] as.undirected() strips vertex attributes?, uxzmdlj02, 2007/09/21
- Re: [igraph] as.undirected() strips vertex attributes?, Tamas Nepusz, 2007/09/21
- Re: [igraph] as.undirected() strips vertex attributes?, uxzmdlj02, 2007/09/21
- Re: [igraph] as.undirected() strips vertex attributes?, Gabor Csardi, 2007/09/24
- Re: [igraph] as.undirected() strips vertex attributes?, Tamas Nepusz, 2007/09/24