R/get.reg.rand.graph.R

get.reg.rand.graph <-
  function(mean.degree=15, num.nodes=1000){
    require(igraph)
    g <- degree.sequence.game(rep(mean.degree, num.nodes), method="vl")
    el <- get.edgelist(g)+1
    g <- network(el, directed=FALSE)
    g
  }

Try the epineticseq package in your browser

Any scripts or data that you put into this service are public.

epineticseq documentation built on May 2, 2019, 4:56 p.m.