Skip to contents

Produces a trace plot of the log-posterior over MCMC iterations. This method delegates to plot_trace(). For network visualization, use plot_bbni().

Usage

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

Arguments

x

A bbni object returned by run_bbni().

...

Extra arguments passed to plot_trace().

Value

The plot object (invisibly).

Examples

set.seed(123)
net <- GenerateNetwork(5)
data <- GenerateSample(net, 100)
res <- run_bbni(data, num_update = 50)
plot(res)