Skip to content

tracePlot

tracePlot(trace, variables?, options?): any

Defined in: mc/src/utils/visualize.js:23

Generate trace plot specification Shows the sampled values over iterations to assess convergence

Parameters

trace

any

MCMC trace object

variables?

string[] = null

Variable names to plot (null = all)

options?

any = {}

Plot options

Returns

any

Plot specification with .show() method