mosaicdata              package:ggplot              R Documentation

_M_o_s_a_i_c _d_a_t_a

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

     Construct a data frame for producing a mosaic plot

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

     mosaicdata(df, direction, offset, xrange=c(0,1), yrange=c(0,1))

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

      df: data frame, with values in last column

direction: character vector of direction ("v" or "h") to split in

  offset: vector of offsets to use

  xrange: xrange

  yrange: yrange

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

     Take a data frame, with last column value and then recursively
     create a data frame that reflects the position of each cell

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

     Hadley Wickham <h.wickham@gmail.com>

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

