Function to plot history (trace) plots of the Markov chains obtained by STAN or by WinBUGS.
Draws history (trace) plots for the Markov chains in a STAN- or WinBUGS-object
historyplot(fit, parameter)
fit
: a model fit obtained by STAN or WinBUGSparameter
: the name, a character, of the parameter for which the history plot should be drawncan only handly one or two dimensional parameters up to now.
gives a plot
Fraenzi Korner
## Not run: fit <- stan(....) historyplot(fit, parameter="alpha") ## End(Not run)
Useful links