BMMdiag               package:bayesmix               R Documentation

_P_l_o_t _I_d_e_n_t_i_f_i_a_b_i_l_i_t_y _D_i_a_g_n_o_s_t_i_c_s _f_o_r _j_a_g_s _O_b_j_e_c_t

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

     Two different plots are currently provided: a plot of different
     variables against each other and a plot of the same variable
     against its values in the other classes.

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

     BMMdiag(object, which = 1:2, variables, ask = interactive(), fct1,
             fct2, xlim, ylim, auto.layout = TRUE, caption = NULL,
             main = "", ...)

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

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

   which: if only one of the plots is required, specify its number.

variables: if 'variables' is missing, the names are taken from the
          'jags' object.

     ask: prompt user before each page of plots

    fct1: string: name of transformation function for variable on
          x-axis.

    fct2: string: name of transformation function for variable on
          y-axis.

    xlim: if no range for 'xlim' is specified, a sensible range is
          taken.

    ylim: if no range for 'ylim' is specified, a sensible range is
          taken.

auto.layout: logical: if 'TRUE' puts each of the two different plots on
          one figure.

 caption: captions to appear above the plots.

    main: title to each plot (in addition to the above 'caption').

     ...: further graphical parameters (see 'plot.xy' and 'par') may
          also be supplied as arguments.

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

     The plots help determining which variable will induce a unique
     labelling when taken for ordering of the segments and indicate if
     the model is overfitted by specifying too  many segments.

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

     Bettina Gruen

