historyplot {blmeco} | R Documentation |
Function to plot history (trace) plots of the Markov chains obtained by STAN or by WinBUGS.
Description
Draws history (trace) plots for the Markov chains in a STAN- or WinBUGS-object
Usage
historyplot(fit, parameter)
Arguments
fit |
a model fit obtained by STAN or WinBUGS |
parameter |
the name, a character, of the parameter for which the history plot should be drawn |
Details
can only handly one or two dimensional parameters up to now.
Value
gives a plot
Author(s)
Fraenzi Korner
Examples
## Not run:
fit <- stan(....)
historyplot(fit, parameter="alpha")
## End(Not run)
[Package blmeco version 1.4 Index]