hrg.fit() was renamed to fit_hrg() to create a more
consistent API.
Arguments
- graph
The graph to fit the model to. Edge directions are ignored in directed graphs.
- hrg
A hierarchical random graph model, in the form of an
igraphHRGobject.fit_hrg()allows this to beNULL, in which case a random starting point is used for the fitting.- start
Logical, whether to start the fitting/sampling from the supplied
igraphHRGobject, or from a random starting point.- steps
The number of MCMC steps to make. If this is zero, then the MCMC procedure is performed until convergence.
