plotChangepoint {MCMCpack} | R Documentation |
Plot the posterior distribution over the location of the changepoints.
plotChangepoint(mcmcout, xlab="Time", ylab="", verbose = FALSE)
mcmcout |
The mcmc object containing the posterior density sample from a changepoint model. Note that this must have a prob.state attribute. |
xlab |
Label for the x-axis. |
ylab |
Label for the y-axis. |
verbose |
If verbose=TRUE, expected changepoints are printed. |
Jong Hee Park, jhp@uchicago.edu, http://home.uchicago.edu/~jhp/.