ggfluctuation             package:ggplot             R Documentation

_C_r_e_a_t_e _a _f_l_u_c_t_u_a_t_i_o_n _d_i_a_g_r_a_m.

_D_e_s_c_r_i_p_t_i_o_n:

_U_s_a_g_e:

     ggfluctuation(table, type="size")

_A_r_g_u_m_e_n_t_s:

   table: a table of values, or a data frame with three columns, the
          last column being frequency

    type: size, or colour to create traditional heatmap

_D_e_t_a_i_l_s:

     A fluctutation diagram is a graphical representation of a
     contingency table.  This fuction currently only supports 2D
     contingency tabless but extension to more should be relatively
     straightforward.

     With the default size fluctuation diagram, area is proportional to
     the count (length of sides proportional to sqrt(count))

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

     ggfluctuation(table(warpbreaks[,c(2,3)]))
     ggfluctuation(table(warpbreaks[,c(1,3)]))

