historyplot function

Function to plot history (trace) plots of the Markov chains obtained by STAN or by WinBUGS.

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)

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.

Returns

gives a plot

Author(s)

Fraenzi Korner

Examples

## Not run: fit <- stan(....) historyplot(fit, parameter="alpha") ## End(Not run)
  • Maintainer: Fraenzi Korner-Nievergelt
  • License: GPL-2
  • Last published: 2019-12-05

Useful links