hrg.predict() was renamed to predict_edges() 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.predict_edges()allow this to beNULLas well, then a HRG is fitted to the graph first, from a random starting point.- start
Logical, whether to start the fitting/sampling from the supplied
igraphHRGobject, or from a random starting point.- num.samples
Number of samples to use for consensus generation or missing edge prediction.
- num.bins
Number of bins for the edge probabilities. Give a higher number for a more accurate prediction.
