cfly_dist             package:clusterfly             R Documentation

_S_t_a_t_i_c _p_l_o_t: _V_a_r_i_a_b_l_e _d_i_s_t_r_i_b_u_t_i_o_n

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

     Draw a density plot for each continuous variable, facetted across
     clustering.

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

     cfly_dist(cfly, index, scale="range")

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

    cfly: clusterfly object

   index: clustering to use

   scale: scaling to use

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

     This allows you to quickly visualise how the cluster vary in a
     univariate manner.  Currently, it is a bit of a hack, because
     'ggplot' does not support plots with different scales, so the
     variables are manually rescaled prior to plotting.

     This plot is inspired by Gaguin <URL:
     http://www.rosuda.org/gaguin>

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

     Hadley Wickham <h.wickham@gmail.com>

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

     cfly_dist(o, "kmeans")
     cfly_dist(o, "kmeans") + scale_y_continuous(limit=c(0, 2))

