Rewiring edges of a graph
See the links below for the implemented rewiring methods.
- The graph to rewire
- A function call to one of the rewiring methods, see details below.
- The rewired graph.
g <- make_ring(10) g %>% rewire(each_edge(p = .1, loops = FALSE)) %>% plot(layout=layout_in_circle) str(rewire(g, with = keeping_degseq(niter = vcount(g) * 10)))
Looks like there are no examples yet.