I am a Newbie in I-graph. I wish to know.
- How to isolate nodes with a specific degree value?
- How to know their node IDs
- Can we draw a new graph with degrees above the given thresholds. Say nodes graph with nodes > n?
If there is any more tutorial/book with a more involved treatment of degree function, please let me know
Warm Regards
SHRINIVAS
I think you can use the vertex function
V(),degree(), and base R functions likewhich()to get what you want. See below.I think for (3) you want an induced subgraph with only those nodes with k_i > n. However, in the induced subgraph, those nodes will not necessarily have the same degree as in the original graph. If that isn't quite what you're looking for, see the manual here to see if there's a better option.
For books, you might try this one.