plot_convergence: Plotting convergence diagnostics

plot_convergenceR Documentation

Plotting convergence diagnostics

Description

These plotting methods are for diagnosing the convergence of simulation-based estimation procedures, such as those used in MoNAn and ergm. These plots are useful for identifying whether the estimation procedure has adequately explored the state space and converged to a stable distribution.

Usage

## S3 method for class 'ag_conv'
plot(x, ...)

## S3 method for class 'traces.monan'
plot(x, ...)

## S3 method for class 'ergm'
plot(x, ...)

load_ergm_res()

Arguments

x

An object of class "traces.monan".

...

Additional plotting parameters, currently unused.

Value

The function shows a line plot tracing the statistics obtained at each simulation step, as well as a density plot showing the distribution of the statistics over the entire simulation.

See Also

Other MoNAn: plot_gof

Other ergm: plot_gof

Examples

plot(monan_conv)
ergm_res <- load_ergm_res()
plot(ergm_res)

autograph documentation built on Nov. 16, 2026, 5:08 p.m.