clPairs                package:mclust                R Documentation

_P_a_i_r_w_i_s_e _S_c_a_t_t_e_r _P_l_o_t_s _s_h_o_w_i_n_g _C_l_a_s_s_i_f_i_c_a_t_i_o_n

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

     Creates a scatter plot for each pair of variables in given data.
     Observations in different classes are represented by different
     symbols.

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

     clPairs(data, classification, symbols, colors, labels=dimnames(data)[[2]], 
             CEX=1, ...)

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

    data: A numeric vector, matrix, or data frame of observations.
          Categorical variables are not allowed. If a matrix or data
          frame, rows correspond to observations and columns correspond
          to variables.  

classification: A numeric or character vector representing a
          classification of observations (rows) of 'data'. 

 symbols: Either an integer or character vector assigning a plotting
          symbol to each unique class in 'classification'. Elements in
          'symbols' correspond to classes in order of appearance in the
          sequence of observations (the order used by the function
          'unique').  The default is given is
          '.Mclust\$classPlotSymbols'. 

  colors: Either an integer or character vector assigning a color to
          each unique class in 'classification'. Elements in 'colors'
          correspond to classes in order of appearance in the sequence
          of observations (the order used by the function 'unique'). 
          The default is given is '.Mclust\$classPlotColors'. 

  labels: A vector of character strings for labeling the variables. The
          default is to use the column dimension names of 'data'. 

     CEX: An argument specifying the size of the plotting symbols.  The
          default value is 1. 

     ...: Additional arguments to be passed to the graphics device. 

_S_i_d_e _E_f_f_e_c_t_s:

     Scatter plots for each combination of variables in 'data' are
     created on the current graphics device. Observations of different
     classifications are labeled with different symbols.

_R_e_f_e_r_e_n_c_e_s:

     C. Fraley and A. E. Raftery (2006). MCLUST Version 3 for R: Normal
     Mixture Modeling and Model-Based Clustering, Technical Report no.
     504,  Department of Statistics, University of Washington.

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

     'pairs', 'coordProj', 'mclustOptions'

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

     clPairs(iris[,-5], cl=iris[,5], symbols=as.character(1:3))

