powered by
Plot trace plots
plot_trace( out, parameter, param.range = NULL, par.mfrow = c(1, 1), density = TRUE )
A plot containing the trace plot (and density plot when density=TRUE) of the listed parameters.
density=TRUE
Output from BSTFA or BSTFAfull.
Parameter to plot. See BSTFA and BSTFAfull for parameter names.
Indices of the named parameter to plot. Default is to plot all relevant parameters.
Vector of length 2 indicating the number of rows and columns to divide the plotting window.
Logical scalar indicating whether to include the density plot of the posterior draws. Default is TRUE.
TRUE
Adam Simpson
data(out.sm) attach(out.sm) plot_trace(out.sm, parameter='beta', param.range=1)
Run the code above in your browser using DataLab