scm | R Documentation |
scm is wrapper for ghype that allows to specify a soft-configuration model.
scm(graph, directed = NULL, selfloops = NULL, ...)
graph |
either an adjacency matrix or an igraph graph |
directed |
optional boolean, if not specified detected from graph |
selfloops |
optional boolean, if not specified detected from graph |
... |
additional parameters passed to the ghype function |
ghype object
data("adj_karate")
confmodel <- scm(graph = adj_karate, directed = FALSE, selfloops = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.