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