Create a trace plot for a single desired node
trace_plot(post, param, keep_percent = 1)
post | A |
---|---|
param | A regular expression that matches a single element in the model.
E.g., |
keep_percent | A numeric vector of length == 1 and on the range (0,1].
Percent of samples you'd like to keep for trace plotting and passed to |
If saving as a pdf file, these files can get very large with many samples and render slowly.
The keep_percent
argument is intended to help with this by thinning the chains at quasi-evenly spaced intervals.
This is not a function users will generally use directly. Call diag_plots()
instead.