plot-methods            package:flexclust            R Documentation

_M_e_t_h_o_d_s _f_o_r _F_u_n_c_t_i_o_n _p_l_o_t _i_n _P_a_c_k_a_g_e '_f_l_e_x_c_l_u_s_t'

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

     Plot the neighbourhood graph of a cluster solution together with
     projected data points.

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

       ## S4 method for signature 'kcca, missing':
       plot(x, y, which=1:2, project=NULL,
              data=NULL, points=!is.null(data),
              hull=!is.null(data), hull.args=NULL, 
              number = TRUE, simlines=TRUE,
              lwd=1, maxlwd=8*lwd, cex=1.5, numcol="black", nodes=16,
              add=FALSE, xlab="", ylab="", xlim = NULL,
              ylim = NULL, pch=NULL, col=NULL, ...)

       flxColors(n=1:8, saturation=c("full","light"))

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

       x: an object of class '"kcca"'

       y: not used

   which: Index numbers of dimensions of (projected) input space to
          plot.

 project: Projection object for which a 'predict' method exists, e.g.,
          the result of 'prcomp'.

    data: Data to include in plot.

  points: Logical, shall data points be plotted?

    hull: If 'TRUE', then hulls of confidence regions of the data are
          plotted. If a function, it is used for plotting the hulls.

hull.args: A list of arguments for the hull function.

  number: Logical, plot number labels in nodes of graph?

numcol, cex: Color and size of number labels in nodes of graph.

   nodes: Plotting symbol to use for nodes if no numbers are drawn.

simlines: Logical, plot edges of graph?

lwd, maxlwd: Numerical, thickness of lines.

     add: Logical, add to existing plot?

xlab, ylab: Axis labels.

xlim, ylim: Axis range.

pch, col, ...: Plotting symbols and colors for data points.

n, saturation: Index numbers and saturation of colors.

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

     This works only for '"kcca"' objects, no method is available for
     "kccasimple" objects.

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

     Friedrich Leisch

