regularm.Rd
regularm is wrapper for ghype that allows to specify a gnm regular model. i.e. where all entries of the combinatorial matrix Xi are the same.
regularm(graph, directed = NULL, selfloops = NULL, ...)
either an adjacency matrix or an igraph graph
optional boolean, if not specified detected from graph
optional boolean, if not specified detected from graph
additional parameters passed to the ghype function
ghype object
data("adj_karate")
regularmodel <- regularm(graph = adj_karate, directed = FALSE, selfloops = FALSE)