Description Usage Arguments Value Examples
For a given vertex, get its neighbors degree sequence, and summarize it with a function. Can be used to identify a kind of articulations points: if the minimal degree of a vertex neighbors is > 1, its deletion does not isolate another one.
1 2 3 4 5 6 7  | neighborsDegree(
  g,
  vs = V(g),
  ngh.mode = c("all", "in", "out"),
  deg.mode = c("all", "in", "out"),
  FUN = min
)
 | 
g | 
 igraph object.  | 
vs | 
 igraph.vs; vertices sequence of which the local index will be calculated (default: all vertices).  | 
ngh.mode | 
 character; the neighbors mode, either 'all', 'in', 'out' (default: 'all').  | 
deg.mode | 
 character; the degree mode, either 'all', 'in', 'out' (default: 'all').  | 
FUN | 
 function used to summarize the degree sequence (default: min).  | 
A numeric vector of the same length than vertices sequence vs.
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.