ergmx.datasets.load#
- ergmx.datasets.load(name, backend='igraph')[source]#
Load a bundled network.
- Parameters:
name (
str) – One ofnames(), as in R’s ergm ("faux.mesa.high","samplk3"…).backend (
{"igraph", "networkx"}) – Return anigraph.Graphor anetworkx.Graph/networkx.DiGraph. Vertex names are in thenameattribute.
- Returns:
igraph.Graphornetworkx.Graph– A list of them for lists of networks ("Goeyvaerts").