plotState {MCMCpack}R Documentation

Changepoint State Plot

Description

Plot the posterior probability that each time point is in each state.

Usage

   plotState(mcmcout, legend.control=NULL, cex=0.8, lwd=1.2)

Arguments

mcmcout The mcmc object containing the posterior density sample from a changepoint model. Note that this must have a prob.state attribute.
legend.control Control the location of the legend. It is necessary to pass both the x and y locations; i.e., c(x,y).
cex Control point size.
lwd Line width parameter.

Author(s)

Jong Hee Park, jhp@uchicago.edu, http://home.uchicago.edu/~jhp/.

See Also

MCMCpoissonChangepoint


[Package MCMCpack version 0.9-6 Index]