powered by
Create a trace plot for all chains for a single variable of a fitted model created by fit_model(). If the model contains more than one chain, the chains will be combined by pasting them together.
fit_model()
plot_trace(variable, model)
A trace plot
The name of a variable in the model
A model created by fit_model()
plot_trace(model = example_model, variable = "pi[1,1]") plot_trace(model = example_model, variable = "mu[2,3]")
Run the code above in your browser using DataLab