powered by
neighbors(graph, v, mode = c("out", "in", "all", "total"))
[.igraph
[[.igraph
adjacent_vertices
are.connected
are_adjacent
ecount
gsize
ends
get.edge
get.edges
get.edge.ids
gorder
vcount
head_of
incident_edges
incident
is.directed
is_directed
tail_of
g <- make_graph("Zachary") n1 <- neighbors(g, 1) n34 <- neighbors(g, 34) intersection(n1, n34)
Run the code above in your browser using DataLab