BMMposteriori            package:bayesmix            R Documentation

_P_l_o_t_s _a_p_o_s_t_e_r_i_o_r_i _p_r_o_b_a_b_i_l_i_t_i_e_s _o_f _d_a_t_a _p_o_i_n_t_s

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

     Given a 'jags' object with model of class 'BMMmodel' the
     aposteriori probabilities are determined. If 'plot=TRUE', the
     resulting object of class 'BMMposteriori' is plotted by calling
     'plot.BMMposteriori'.

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

     BMMposteriori(object, class, caption = NULL, plot = TRUE,
                   auto.layout = TRUE, ...)

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

  object: a 'jags' object with model of class 'BMMmodel'.

   class: a vector of integers indicating for which classes the
          posterior probabilities shall be plotted. The default is all.

 caption: captions to appear above the plots.

    plot: logical indicating if a plot shall be made.

auto.layout: logical: if 'TRUE' puts all classes in the posterior
          probabilities plot on the same figure.

     ...: further graphical parameters may also be supplied as
          arguments.

_D_e_t_a_i_l_s:

     Given a 'jags' object with model of class 'BMMmodel' the a
     posteriori probabilities are calculated for the unique data points
     with respect to the components specified by 'class'.

_V_a_l_u_e:

     There is a 'BMMposteriori' object returned which is a list
     including the following components 

    data: vector of unique data points.

    post: a matrix including the posteriori probability of the data
          points for each class.

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

     Bettina Gruen

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

     'plot.BMMposteriori'

