plotState              package:MCMCpack              R Documentation

_C_h_a_n_g_e_p_o_i_n_t _S_t_a_t_e _P_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

 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.

_A_u_t_h_o_r(_s):

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

_S_e_e _A_l_s_o:

     'MCMCpoissonChangepoint'

