classscatter              package:klaR              R Documentation

_C_l_a_s_s_i_f_i_c_a_t_i_o_n _s_c_a_t_t_e_r_p_l_o_t _m_a_t_r_i_x

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

     Function to plot a scatterplot matrix with a classification
     result.

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

     classscatter(formula, data, method, col.correct = "black", 
         col.wrong = "red", gs = NULL, ...)

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

 formula: formula of the form 'groups ~ x1 + x2 + ...'.  That is, the
          response is the grouping factor and the right hand side
          specifies the (non-factor) discriminators.  

    data: Data frame from which variables specified in formula are
          preferentially to be taken.

  method: character, name of classification function  (e.g. "'lda'").

col.correct: 

col.wrong: color to use for missclassified objects.

      gs: group symbol (plot character), must have the same length as
          the data.  If 'NULL', 'as.character(groups)' is the default.

     ...: further arguments passed to the underlying classification
          method or plot functions.

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

     The actual error rate.

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

     Karsten Luebke

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

     'plot'

_E_x_a_m_p_l_e_s:

     data(B3)
     library(MASS)
     classscatter(PHASEN ~ BSP91JW + EWAJW + LSTKJW, data = B3, method = "lda")

