hrg.fit: Fit a hierarchical random graph model

View source: R/hrg.R

hrg.fitR Documentation

Fit a hierarchical random graph model

Description

[Deprecated]

hrg.fit() was renamed to fit_hrg() to create a more consistent API.

Usage

hrg.fit(graph, hrg = NULL, start = FALSE, steps = 0)

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 igraphHRG object. fit_hrg() allows this to be NULL, in which case a random starting point is used for the fitting.

start

Logical, whether to start the fitting/sampling from the supplied igraphHRG object, 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.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.